public class QueryColumnData extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
ASTERIX_COLUMN |
protected static String |
UID_COLUMN |
Constructor and Description |
---|
QueryColumnData(QueryTableData tableData,
String columnPath) |
QueryColumnData(String columnPath) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkAndAssignTableData(QueryTableData tableData)
Checks if given table data matches this column.
|
int |
getColumnIndexInTable() |
String |
getColumnName() |
String |
getColumnPath() |
QueryTableData |
getColumnTableData() |
boolean |
isAsterixColumn() |
boolean |
isNestedQueryColumn() |
boolean |
isUidColumn() |
static QueryColumnData |
newColumnData(String columnPath,
AbstractDMLQuery query)
Create column data according to the table name
|
static QueryColumnData |
newInstance(QueryTableData tableData,
String columnPath) |
void |
setColumnIndexInTable(int columnIndexInTable) |
void |
setColumnName(String columnName) |
void |
setColumnTableData(QueryTableData columnTableData) |
static boolean |
startsWith(String columnPath,
String tableName)
Returns true if given columnPath startsWith given tableName
|
protected static final String ASTERIX_COLUMN
protected static final String UID_COLUMN
public QueryColumnData(String columnPath)
columnPath
- public QueryColumnData(QueryTableData tableData, String columnPath) throws SQLException
tableData
- columnPath
- SQLException
public String getColumnName()
public QueryTableData getColumnTableData()
public void setColumnTableData(QueryTableData columnTableData)
public int getColumnIndexInTable()
public void setColumnIndexInTable(int columnIndexInTable)
public boolean checkAndAssignTableData(QueryTableData tableData) throws SQLException
SQLException
public String getColumnPath()
public boolean isNestedQueryColumn()
public static QueryColumnData newColumnData(String columnPath, AbstractDMLQuery query) throws SQLException
SQLException
public static QueryColumnData newInstance(QueryTableData tableData, String columnPath) throws SQLException
SQLException
public static boolean startsWith(String columnPath, String tableName)
public void setColumnName(String columnName)
public boolean isAsterixColumn()
public boolean isUidColumn()
Copyright © GigaSpaces.