public class SQLTuple extends Object implements SQLValueIF
| Modifier and Type | Field and Description |
|---|---|
protected String |
alias |
protected int |
arity |
protected FieldHandlerIF |
fhandler |
protected int |
value_arity |
protected SQLValueIF[] |
values |
protected Class |
vtype |
| Constructor and Description |
|---|
SQLTuple(List<SQLValueIF> values) |
SQLTuple(SQLValueIF[] values) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAlias()
INTERNAL: The column alias to use if this value is
included in the projection.
|
int |
getArity()
INTERNAL: Returns the [column] arity of the value.
|
FieldHandlerIF |
getFieldHandler()
INTERNAL: Returns the field handler for the columns.
|
SQLValueIF |
getReference()
INTERNAL: Returns the referenced value if one exists.
|
int |
getType()
INTERNAL: Returns the value class type.
|
int |
getValueArity()
INTERNAL: Returns the value arity of the value.
|
SQLValueIF[] |
getValues() |
Class |
getValueType()
INTERNAL: Returns the value type.
|
boolean |
isReference()
INTERNAL: Returns true if this value is a reference to another.
|
void |
setAlias(String alias)
INTERNAL: Sets the column alias.
|
void |
setFieldHandler(FieldHandlerIF fhandler)
INTERNAL: Sets the field handler for the value.
|
void |
setValues(SQLValueIF[] values) |
void |
setValueType(Class vtype)
INTERNAL: Sets the value type.
|
String |
toString() |
protected SQLValueIF[] values
protected int arity
protected int value_arity
protected String alias
protected Class vtype
protected FieldHandlerIF fhandler
public SQLTuple(List<SQLValueIF> values)
public SQLTuple(SQLValueIF[] values)
public int getType()
SQLValueIFSQLValueIF interface.getType in interface SQLValueIFpublic int getArity()
SQLValueIFgetArity in interface SQLValueIFpublic int getValueArity()
SQLValueIFgetValueArity in interface SQLValueIFpublic String getAlias()
SQLValueIFgetAlias in interface SQLValueIFpublic void setAlias(String alias)
SQLValueIFsetAlias in interface SQLValueIFpublic boolean isReference()
SQLValueIFisReference in interface SQLValueIFpublic SQLValueIF getReference()
SQLValueIFgetReference in interface SQLValueIFpublic SQLValueIF[] getValues()
public void setValues(SQLValueIF[] values)
public Class getValueType()
SQLValueIFgetValueType in interface SQLValueIFpublic void setValueType(Class vtype)
SQLValueIFsetValueType in interface SQLValueIFpublic FieldHandlerIF getFieldHandler()
SQLValueIFgetFieldHandler in interface SQLValueIFpublic void setFieldHandler(FieldHandlerIF fhandler)
SQLValueIFsetFieldHandler in interface SQLValueIF