public interface Term extends HyperTerm
| Modifier and Type | Method and Description |
|---|---|
default BaseVector |
apply(DataFrame df) |
java.lang.Object |
apply(Tuple o)
Applies the term on a data object.
|
default boolean |
applyAsBoolean(Tuple o)
Applies the term on a data object and produces an boolean-valued result.
|
default byte |
applyAsByte(Tuple o)
Applies the term on a data object and produces an byte-valued result.
|
default char |
applyAsChar(Tuple o)
Applies the term on a data object and produces an char-valued result.
|
default double |
applyAsDouble(Tuple o)
Applies the term on a data object and produces an double-valued result.
|
default float |
applyAsFloat(Tuple o)
Applies the term on a data object and produces an float-valued result.
|
default int |
applyAsInt(Tuple o)
Applies the term on a data object and produces an int-valued result.
|
default long |
applyAsLong(Tuple o)
Applies the term on a data object and produces an long-valued result.
|
default short |
applyAsShort(Tuple o)
Applies the term on a data object and produces an short-valued result.
|
default StructField |
field()
Returns the field meta data of output variable.
|
default boolean |
isConstant()
Returns true if the term represents a constant value.
|
default boolean |
isVariable()
Returns true if the term represents a plain variable.
|
default java.util.Optional<Measure> |
measure()
Returns the optional level of measurements of output values.
|
java.lang.String |
name()
Returns the name of output values.
|
default java.util.List<Term> |
terms()
Returns the list of terms after expanding the hyperterm.
|
DataType |
type()
Returns the data type of output values.
|
default java.util.List<Term> terms()
HyperTermjava.lang.String name()
DataType type()
default java.util.Optional<Measure> measure()
default StructField field()
java.lang.Object apply(Tuple o)
default double applyAsDouble(Tuple o)
default float applyAsFloat(Tuple o)
default int applyAsInt(Tuple o)
default long applyAsLong(Tuple o)
default boolean applyAsBoolean(Tuple o)
default byte applyAsByte(Tuple o)
default short applyAsShort(Tuple o)
default char applyAsChar(Tuple o)
default boolean isVariable()
default boolean isConstant()
default BaseVector apply(DataFrame df)