public class SelectColumn extends Object implements Externalizable
Constructor and Description |
---|
SelectColumn() |
SelectColumn(QueryTableData tableData,
String columnPath) |
SelectColumn(QueryTableData tableData,
String columnPath,
boolean isDynamic) |
SelectColumn(String columnPath) |
SelectColumn(String columnName,
String columnAlias) |
Modifier and Type | Method and Description |
---|---|
void |
createColumnData(AbstractDMLQuery query) |
boolean |
equals(Object ob) |
String |
getAlias()
Gets the column's alias.
|
QueryColumnData |
getColumnData() |
int |
getColumnIndexInTable() |
QueryTableData |
getColumnTableData() |
Object |
getFieldValue(IEntryPacket entry) |
String |
getFunctionName() |
String |
getName() |
int |
getProjectedIndex() |
Object |
getValue() |
boolean |
hasAlias() |
boolean |
isAggregatedFunction() |
boolean |
isAllColumns() |
boolean |
isCount() |
boolean |
isDynamic() |
boolean |
isFunction() |
boolean |
isInitValues()
if have default value function
|
boolean |
isSum() |
boolean |
isUid() |
boolean |
isVisible() |
void |
readExternal(ObjectInput in) |
void |
setAlias(String alias) |
void |
setCount(boolean isCount)
if this is a count function
|
void |
setFunctionName(String funcName) |
void |
setName(String name) |
void |
setProjectedIndex(int projectedIndex) |
void |
setSum(boolean isSum)
if this is a sum function
|
void |
setValue(Object initValues)
if have default value function
|
void |
setVisible(boolean flag) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public SelectColumn()
public SelectColumn(String columnPath)
public SelectColumn(QueryTableData tableData, String columnPath) throws SQLException
SQLException
public SelectColumn(QueryTableData tableData, String columnPath, boolean isDynamic) throws SQLException
SQLException
public void createColumnData(AbstractDMLQuery query) throws SQLException
SQLException
public boolean hasAlias()
public String getAlias()
public void setAlias(String alias)
public void setName(String name)
public String getName()
public boolean isAllColumns()
public boolean isCount()
public boolean isSum()
public void setCount(boolean isCount)
public boolean isUid()
public void setValue(Object initValues)
public Object getValue()
public boolean isInitValues()
public void setSum(boolean isSum)
public boolean isFunction()
public boolean isAggregatedFunction()
public boolean isDynamic()
public void setFunctionName(String funcName)
public String getFunctionName()
public void setVisible(boolean flag)
public boolean isVisible()
public int getProjectedIndex()
public void setProjectedIndex(int projectedIndex)
projectedIndex
- The projectedIndex to set.public QueryTableData getColumnTableData()
public int getColumnIndexInTable()
public QueryColumnData getColumnData()
public Object getFieldValue(IEntryPacket entry)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © GigaSpaces.