Class Kjube
- java.lang.Object
-
- org.pentaho.di.trans.steps.tablecompare.Kjube
-
public class Kjube extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_APPLICATION_PARAMETER
static String
DEFAULT_BATCH_ID_CONNECTION
static String
DEFAULT_BATCH_ID_SCHEMA
static String
DEFAULT_BATCH_ID_TABLE
static String
DEFAULT_BATCH_ID_VARIABLE_NAME
static String
DEFAULT_BATCH_LOGGING_CONNECTION
static String
DEFAULT_BATCH_LOGGING_SCHEMA
static String
DEFAULT_BATCH_LOGGING_TABLE
static String
DEFAULT_CONFIG_FILE_PATH
static String
DEFAULT_CUSTOMER_PARAMETER
static String
DEFAULT_ERROR_CODES_VARIABLE_NAME
static String
DEFAULT_ERROR_COUNT_VARIABLE_NAME
static String
DEFAULT_ERROR_DESCRIPTIONS_VARIABLE_NAME
static String
DEFAULT_ERROR_FIELDS_VARIABLE_NAME
static String
DEFAULT_LIFECYCLE_PARAMETER
static String
DEFAULT_REJECTS_SCHEMA
static String
DEFAULT_REJECTS_TABLE
-
Constructor Summary
Constructors Constructor Description Kjube()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isSpace(char c)
Determines whether or not a character is considered a space.static String
ltrim(String source)
Left trim: remove spaces to the left of a String.static String
rtrim(String source)
Right trim: remove spaces to the right of a stringstatic String
trim(String str)
Trims a string: removes the leading and trailing spaces of a String.
-
-
-
Field Detail
-
DEFAULT_CUSTOMER_PARAMETER
public static final String DEFAULT_CUSTOMER_PARAMETER
- See Also:
- Constant Field Values
-
DEFAULT_APPLICATION_PARAMETER
public static final String DEFAULT_APPLICATION_PARAMETER
- See Also:
- Constant Field Values
-
DEFAULT_LIFECYCLE_PARAMETER
public static final String DEFAULT_LIFECYCLE_PARAMETER
- See Also:
- Constant Field Values
-
DEFAULT_CONFIG_FILE_PATH
public static final String DEFAULT_CONFIG_FILE_PATH
- See Also:
- Constant Field Values
-
DEFAULT_BATCH_ID_CONNECTION
public static final String DEFAULT_BATCH_ID_CONNECTION
- See Also:
- Constant Field Values
-
DEFAULT_BATCH_ID_SCHEMA
public static final String DEFAULT_BATCH_ID_SCHEMA
- See Also:
- Constant Field Values
-
DEFAULT_BATCH_ID_TABLE
public static final String DEFAULT_BATCH_ID_TABLE
- See Also:
- Constant Field Values
-
DEFAULT_BATCH_LOGGING_CONNECTION
public static final String DEFAULT_BATCH_LOGGING_CONNECTION
- See Also:
- Constant Field Values
-
DEFAULT_BATCH_LOGGING_SCHEMA
public static final String DEFAULT_BATCH_LOGGING_SCHEMA
- See Also:
- Constant Field Values
-
DEFAULT_BATCH_LOGGING_TABLE
public static final String DEFAULT_BATCH_LOGGING_TABLE
- See Also:
- Constant Field Values
-
DEFAULT_REJECTS_SCHEMA
public static final String DEFAULT_REJECTS_SCHEMA
- See Also:
- Constant Field Values
-
DEFAULT_REJECTS_TABLE
public static final String DEFAULT_REJECTS_TABLE
- See Also:
- Constant Field Values
-
DEFAULT_BATCH_ID_VARIABLE_NAME
public static final String DEFAULT_BATCH_ID_VARIABLE_NAME
- See Also:
- Constant Field Values
-
DEFAULT_ERROR_COUNT_VARIABLE_NAME
public static final String DEFAULT_ERROR_COUNT_VARIABLE_NAME
- See Also:
- Constant Field Values
-
DEFAULT_ERROR_DESCRIPTIONS_VARIABLE_NAME
public static final String DEFAULT_ERROR_DESCRIPTIONS_VARIABLE_NAME
- See Also:
- Constant Field Values
-
DEFAULT_ERROR_FIELDS_VARIABLE_NAME
public static final String DEFAULT_ERROR_FIELDS_VARIABLE_NAME
- See Also:
- Constant Field Values
-
DEFAULT_ERROR_CODES_VARIABLE_NAME
public static final String DEFAULT_ERROR_CODES_VARIABLE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
isSpace
public static final boolean isSpace(char c)
Determines whether or not a character is considered a space. A character is considered a space in Kettle if it is a space, a tab, a newline or a cariage return.- Parameters:
c
- The character to verify if it is a space.- Returns:
- true if the character is a space. false otherwise.
-
ltrim
public static String ltrim(String source)
Left trim: remove spaces to the left of a String.- Parameters:
str
- The String to left trim- Returns:
- The left trimmed String
-
rtrim
public static String rtrim(String source)
Right trim: remove spaces to the right of a string- Parameters:
str
- The string to right trim- Returns:
- The trimmed string.
-
-