public class ColumnExpression extends AbstractExpression implements Predicate
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
m_field |
| Constructor and Description |
|---|
ColumnExpression(java.lang.String field)
Create a new ColumnExpression.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
get(Tuple t)
By default, throws an UnsupportedOperationException.
|
boolean |
getBoolean(Tuple t)
By default, throws an UnsupportedOperationException.
|
java.lang.String |
getColumnName()
Get the column / data field name used by this expression.
|
double |
getDouble(Tuple t)
By default, throws an UnsupportedOperationException.
|
float |
getFloat(Tuple t)
By default, throws an UnsupportedOperationException.
|
int |
getInt(Tuple t)
By default, throws an UnsupportedOperationException.
|
long |
getLong(Tuple t)
By default, throws an UnsupportedOperationException.
|
java.lang.Class |
getType(Schema s)
Returns the type that this expression evaluates to when tuples
with the given Schema are provided as input.
|
java.lang.String |
toString() |
addChildListeners, addExpressionListener, expressionChanged, fireExpressionChange, hasListeners, removeChildListeners, removeExpressionListener, visitclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddExpressionListener, removeExpressionListener, visitpublic ColumnExpression(java.lang.String field)
field - the column / data field name to usepublic java.lang.String getColumnName()
public java.lang.Class getType(Schema s)
ExpressiongetType in interface ExpressionExpression.getType(prefuse.data.Schema)public java.lang.Object get(Tuple t)
AbstractExpressionget in interface Expressionget in class AbstractExpressiont - the input TupleExpression.get(prefuse.data.Tuple)public int getInt(Tuple t)
AbstractExpressiongetInt in interface ExpressiongetInt in class AbstractExpressiont - the input TupleExpression.getInt(prefuse.data.Tuple)public long getLong(Tuple t)
AbstractExpressiongetLong in interface ExpressiongetLong in class AbstractExpressiont - the input TupleExpression.getLong(prefuse.data.Tuple)public float getFloat(Tuple t)
AbstractExpressiongetFloat in interface ExpressiongetFloat in class AbstractExpressiont - the input TupleExpression.getFloat(prefuse.data.Tuple)public double getDouble(Tuple t)
AbstractExpressiongetDouble in interface ExpressiongetDouble in class AbstractExpressiont - the input TupleExpression.getDouble(prefuse.data.Tuple)public boolean getBoolean(Tuple t)
AbstractExpressiongetBoolean in interface ExpressiongetBoolean in class AbstractExpressiont - the input TupleExpression.getBoolean(prefuse.data.Tuple)public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()