Class Kjube
java.lang.Object
org.pentaho.di.trans.steps.tablecompare.Kjube
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic final boolean
isSpace
(char c) Determines whether or not a character is considered a space.static String
Left trim: remove spaces to the left of a String.static String
Right trim: remove spaces to the right of a stringstatic final String
Trims a string: removes the leading and trailing spaces of a String.
-
Field Details
-
DEFAULT_CUSTOMER_PARAMETER
- See Also:
-
DEFAULT_APPLICATION_PARAMETER
- See Also:
-
DEFAULT_LIFECYCLE_PARAMETER
- See Also:
-
DEFAULT_CONFIG_FILE_PATH
- See Also:
-
DEFAULT_BATCH_ID_CONNECTION
- See Also:
-
DEFAULT_BATCH_ID_SCHEMA
- See Also:
-
DEFAULT_BATCH_ID_TABLE
- See Also:
-
DEFAULT_BATCH_LOGGING_CONNECTION
- See Also:
-
DEFAULT_BATCH_LOGGING_SCHEMA
- See Also:
-
DEFAULT_BATCH_LOGGING_TABLE
- See Also:
-
DEFAULT_REJECTS_SCHEMA
- See Also:
-
DEFAULT_REJECTS_TABLE
- See Also:
-
DEFAULT_BATCH_ID_VARIABLE_NAME
- See Also:
-
DEFAULT_ERROR_COUNT_VARIABLE_NAME
- See Also:
-
DEFAULT_ERROR_DESCRIPTIONS_VARIABLE_NAME
- See Also:
-
DEFAULT_ERROR_FIELDS_VARIABLE_NAME
- See Also:
-
DEFAULT_ERROR_CODES_VARIABLE_NAME
- See Also:
-
-
Constructor Details
-
Kjube
public Kjube()
-
-
Method Details
-
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
Left trim: remove spaces to the left of a String.- Parameters:
str
- The String to left trim- Returns:
- The left trimmed String
-
rtrim
Right trim: remove spaces to the right of a string- Parameters:
str
- The string to right trim- Returns:
- The trimmed string.
-
trim
Trims a string: removes the leading and trailing spaces of a String.- Parameters:
str
- The string to trim- Returns:
- The trimmed string.
-