public class GroupSizeFunction extends GroupExpression
m_group| Constructor and Description |
|---|
GroupSizeFunction()
Create a new, uninitialized GroupSizeFunction.
|
GroupSizeFunction(java.lang.String group)
Create a new GroupSizeFunction using the given data group name
as the Function parameter.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
get(Tuple t)
By default, throws an UnsupportedOperationException.
|
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.String |
getName()
Get the name of this function.
|
java.lang.Class |
getType(Schema s)
Returns the type that this expression evaluates to when tuples
with the given Schema are provided as input.
|
addParameter, getGroup, getParameterCount, toStringaddChildListeners, addExpressionListener, expressionChanged, fireExpressionChange, getBoolean, hasListeners, removeChildListeners, removeExpressionListener, visitclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddExpressionListener, getBoolean, removeExpressionListener, visitpublic GroupSizeFunction()
public GroupSizeFunction(java.lang.String group)
group - the data group name to use as a parameterpublic java.lang.String getName()
FunctionFunction.getName()public java.lang.Class getType(Schema s)
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 double getDouble(Tuple t)
AbstractExpressiongetDouble in interface ExpressiongetDouble in class AbstractExpressiont - the input TupleExpression.getDouble(prefuse.data.Tuple)public float getFloat(Tuple t)
AbstractExpressiongetFloat in interface ExpressiongetFloat in class AbstractExpressiont - the input TupleExpression.getFloat(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)