public class TableRowSchema extends HubTableRow implements Cloneable, Comparable<HubTableRow>
Modifier and Type | Field and Description |
---|---|
String |
columnName |
String |
dataType |
String |
keySequence |
keySep
Constructor and Description |
---|
TableRowSchema() |
TableRowSchema(String columnName,
String keySequence,
String dataType) |
Modifier and Type | Method and Description |
---|---|
TableRowSchema |
clone()
The table needs to create rows without coding with the class name.
|
int |
compareTo(HubTableRow Qz_io_)
compareTo gets replaced in derived classes.
|
HubTableColumn[] |
getCols()
obtain the columns of the table
|
String |
getKey()
obtain the primary composite key (PCK) value
|
HubTableColumn[] |
getKeyCols()
obtain the key columns of the table
|
static String |
keyOf(String columnName) |
csvFieldValue, fieldCompare, fieldValue, getStringAt, getValueAt, getWhereClause, lappend, setValueAt, setValueAt, toCsv, toString, varchar
public String columnName
public String dataType
public String keySequence
public TableRowSchema()
public TableRowSchema(String columnName, String keySequence, String dataType)
public TableRowSchema clone()
HubTableRow
A java user can pass a row for inserting or update which may not have proper values so we are filtering.
clone
in class HubTableRow
public int compareTo(HubTableRow Qz_io_)
HubTableRow
Selection results are returned in natural sorted order without explicit sorting. However, the natural sorted order has numeric values sorted as text.
A selection result can be explicitly sorted to fix the text sorting of numeric values; (1,10,2,20) becomes (1,2,10,20).
compareTo
in interface Comparable<HubTableRow>
compareTo
in class HubTableRow
public HubTableColumn[] getCols()
HubTableRow
getCols
in class HubTableRow
public String getKey()
HubTableRow
getKey
in class HubTableRow
public HubTableColumn[] getKeyCols()
HubTableRow
getKeyCols
in class HubTableRow
public static String keyOf(String columnName)