public class TableRowSub extends HubTableRow implements Cloneable, Comparable<HubTableRow>
Modifier and Type | Field and Description |
---|---|
String |
openStatement |
String |
subscription |
String |
tablename |
keySep
Constructor and Description |
---|
TableRowSub() |
TableRowSub(String tablename,
String subscription,
String openStatement) |
Modifier and Type | Method and Description |
---|---|
TableRowSub |
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 tablename,
String subscription) |
csvFieldValue, fieldCompare, fieldValue, getStringAt, getValueAt, getWhereClause, lappend, setValueAt, setValueAt, toCsv, toString, varchar
public String openStatement
public String subscription
public String tablename
public TableRowSub()
public TableRowSub(String tablename, String subscription, String openStatement)
public TableRowSub 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 tablename, String subscription)