Uses of Interface
com.pervasive.datarush.tokens.scalar.ScalarValued
-
Packages that use ScalarValued Package Description com.pervasive.datarush.encoding Provides basic interfaces used when converting tokens into various formats.com.pervasive.datarush.functions Provides classes and interfaces related to defining functions on records.com.pervasive.datarush.operators.group Provides data aggregation components.com.pervasive.datarush.operators.io.staging Provides operators for reading and writing DataRush staging datasets.com.pervasive.datarush.ports.physical Provides classes and interfaces for accessing and producing the data flowing between operators in a dataflow graph.com.pervasive.datarush.sequences.scalar Provides implementations of sequences of scalar token values.com.pervasive.datarush.tokens Provides classes and utilities for working with data tokens.com.pervasive.datarush.tokens.record Provides implementations of and utilities for record valued tokens.com.pervasive.datarush.tokens.scalar Provides implementations of and utilities for scalar valued tokens.com.pervasive.datarush.types Provides classes and interfaces for the description of token data types. -
-
Uses of ScalarValued in com.pervasive.datarush.encoding
Methods in com.pervasive.datarush.encoding with parameters of type ScalarValued Modifier and Type Method Description void
TokenFormatter. setSource(ScalarValued source)
Sets the container holding values to be formatted. -
Uses of ScalarValued in com.pervasive.datarush.functions
Methods in com.pervasive.datarush.functions that return ScalarValued Modifier and Type Method Description ScalarValued
EvaluationContext. constructSubexpressionEvaluation(EvaluatorFactory factory, List<Object> arguments, ScalarTokenType resultType)
Creates an evaluation of a subexpression which can be used as input to the evaluator of the expression containing it.ScalarValued
ConstantReference. getSubexpressionEvaluation(EvaluationContext ctx)
ScalarValued
FieldReference. getSubexpressionEvaluation(EvaluationContext ctx)
ScalarValued
ScalarValuedFunction. getSubexpressionEvaluation(EvaluationContext ctx)
Constructs an instance of an evaluation of the function in the context of a larger expression.Methods in com.pervasive.datarush.functions with parameters of type ScalarValued Modifier and Type Method Description static ScalarValuedFunction
Predicates. eq(String field, ScalarValued value)
Builds a record predicate which tests the equality of the specified field with a known value.static ScalarValuedFunction
Predicates. gt(String leftField, ScalarValued rightValue)
Builds a record predicate which tests whether a field is strictly greater than a known value.static ScalarValuedFunction
Predicates. gte(String leftField, ScalarValued rightValue)
Builds a record predicate which tests whether a field is greater than or equal to a known value.static ScalarValuedFunction
Predicates. lt(String leftField, ScalarValued rightValue)
Builds a record predicate which tests whether a field is strictly less than a known value.static ScalarValuedFunction
Predicates. lte(String leftField, ScalarValued rightValue)
Builds a record predicate which tests whether a field is less than or equal to a known value.static ScalarValuedFunction
Predicates. neq(String field, ScalarValued value)
Builds a record predicate which tests the inequality of the specified field with a known value.Constructors in com.pervasive.datarush.functions with parameters of type ScalarValued Constructor Description ConstantReference(ScalarValued v)
Defines a function evaluating to the specified value -
Uses of ScalarValued in com.pervasive.datarush.operators.group
Methods in com.pervasive.datarush.operators.group that return ScalarValued Modifier and Type Method Description ScalarValued
ReadableStorage. getScalarValued(int offset)
Returns the value of the internal element at the given offset.Methods in com.pervasive.datarush.operators.group with parameters of type ScalarValued Modifier and Type Method Description void
Aggregator. setInputs(ScalarValued[] inputs)
Binds the input values for this aggregator.Constructors in com.pervasive.datarush.operators.group with parameters of type ScalarValued Constructor Description ReadableStorage(ScalarValued[] internals)
Create a new readable storage. -
Uses of ScalarValued in com.pervasive.datarush.operators.io.staging
Methods in com.pervasive.datarush.operators.io.staging that return ScalarValued Modifier and Type Method Description ScalarValued
DatasetIterator. getField(int index)
ScalarValued
DatasetIterator. getField(String fieldName)
ScalarValued[]
DatasetIterator. getFields()
-
Uses of ScalarValued in com.pervasive.datarush.ports.physical
Subinterfaces of ScalarValued in com.pervasive.datarush.ports.physical Modifier and Type Interface Description interface
BinaryInputField
A binary valued field of a record input port.interface
BooleanInputField
A boolean valued field of a record input port.interface
CharInputField
A character valued field of a record input port.interface
DateInputField
A date valued field of a record input port.interface
DoubleInputField
A double valued field of a record input port.interface
DurationInputField
A duration valued field of a record input port.interface
FloatInputField
A float valued field of a record input port.interface
IntInputField
An integer valued field of a record input port.interface
Ip4AddressInputField
A ip4 address valued field of a record input port.interface
Ip6AddressInputField
A ip6 address valued field of a record input port.interface
LongInputField
A long valued field of a record input port.interface
MoneyInputField
A money valued field of a record input port.interface
NumericInputField
A numeric valued field of a record input port.interface
ObjectInputField<T>
An object valued field of a record input port.interface
PeriodInputField
A period valued field of a record input port.interface
ScalarInputField
A field of a record input port.interface
StringInputField
A string valued field of a record input port.interface
TimeInputField
A time valued field of a record input port.interface
TimestampInputField
A timestamp valued field of a record input port. -
Uses of ScalarValued in com.pervasive.datarush.sequences.scalar
Methods in com.pervasive.datarush.sequences.scalar that return ScalarValued Modifier and Type Method Description ScalarValued
ScalarTokenSequence. getToken(int index)
-
Uses of ScalarValued in com.pervasive.datarush.tokens
Methods in com.pervasive.datarush.tokens with type parameters of type ScalarValued Modifier and Type Method Description static <T extends ScalarValued>
T[]TokenUtils. castFields(RecordValued value, Class<T> clazz, String[] fieldNames)
Extracts the given list of field names, casting them to the specified type.static <T extends ScalarValued>
T[]TokenUtils. castFields(ScalarValued[] fields, Class<T> clazz)
Casts an array of fields to the specified typeMethods in com.pervasive.datarush.tokens that return ScalarValued Modifier and Type Method Description static <T extends ScalarValued>
T[]TokenUtils. castFields(RecordValued value, Class<T> clazz, String[] fieldNames)
Extracts the given list of field names, casting them to the specified type.static <T extends ScalarValued>
T[]TokenUtils. castFields(ScalarValued[] fields, Class<T> clazz)
Casts an array of fields to the specified typestatic ScalarValued[]
TokenUtils. selectFields(RecordValued value, String[] fieldNames)
Extracts the given list of field values from a record value.Methods in com.pervasive.datarush.tokens with parameters of type ScalarValued Modifier and Type Method Description static <T extends ScalarValued>
T[]TokenUtils. castFields(ScalarValued[] fields, Class<T> clazz)
Casts an array of fields to the specified typestatic int
TokenUtils. compare(ScalarValued value1, ScalarValued value2)
Indicates the relative ordering of two scalar values in ascending order.static RecordTokenComparator
TokenComparators. getCompositeComparator(ScalarValued[] left, ScalarValued[] right, TokenOrder order)
Creates a composite comparator, bound to the given sets of left and right values, using the specified ordering for all pairings of values.static RecordTokenComparator
TokenComparators. getCompositeComparator(ScalarValued[] left, ScalarValued[] right, TokenOrder[] order)
Creates a composite comparator, bound to the given sets of left and right values, using the specified orderings for each pairing of values.static ScalarTokenType[]
TokenUtils. getTypes(ScalarValued[] values)
Extracts the types of an array of scalar token values. -
Uses of ScalarValued in com.pervasive.datarush.tokens.record
Classes in com.pervasive.datarush.tokens.record with type parameters of type ScalarValued Modifier and Type Class Description class
AbstractRecordValued<F extends ScalarValued>
For internal use only.Methods in com.pervasive.datarush.tokens.record that return ScalarValued Modifier and Type Method Description ScalarValued
RecordMap.RecordMapIterator. getField(int index)
ScalarValued
RecordMap.RecordMapIterator. getField(String fieldName)
ScalarValued
RecordValued. getField(int index)
Get the field at the given index within the list of fields.ScalarValued
RecordValued. getField(String fieldName)
Gets the value of the field with the given name.ScalarValued
RecordValuedFilter. getField(int index)
ScalarValued
RecordValuedFilter. getField(String fieldName)
F[]
AbstractRecordValued. getFields()
ScalarValued[]
RecordMap.RecordMapIterator. getFields()
ScalarValued[]
RecordValued. getFields()
Gets the values of all fields in the recordScalarValued[]
RecordValuedFilter. getFields()
Methods in com.pervasive.datarush.tokens.record with parameters of type ScalarValued Modifier and Type Method Description void
RecordTokenComparator. setLeftSources(ScalarValued[] sources)
Binds the left-hand values of the comparator to the specified objects.void
RecordTokenComparator. setRightSources(ScalarValued[] sources)
Binds the right-hand values of the comparator to the specified objects.static RecordToken
RecordToken. wrap(String name, ScalarValued value)
Create a new record token with a single field with the specified name and value.Constructors in com.pervasive.datarush.tokens.record with parameters of type ScalarValued Constructor Description AbstractRecordValued(RecordTokenType type, F[] fieldValues, boolean validateType, ModificationCountProvider modificationCountProvider)
Constructs a value using the given elements as the field elements, using the specified type.AbstractRecordValued(RecordTokenType type, F[] fieldValues, ModificationCountProvider modificationCountProvider)
Constructs a value using the given elements as the field elements, using the specified type.AbstractRecordValued(F[] fieldValues, ModificationCountProvider modificationCountProvider)
Constructs a value using the given elements as the field elements.CompositeValue(ScalarValued[] fields)
Construct a composite from the suppliedScalarValued
objects.CompositeValue(ScalarValued[] fields, ModificationCountProvider modCountProvider)
Construct a composite from the suppliedScalarValued
objects.CompositeValue(RecordTokenType type, ScalarValued[] fields)
Construct a composite with the described schema using the suppliedScalarValued
objects.CompositeValue(RecordTokenType type, ScalarValued[] fields, ModificationCountProvider modCountProvider)
Construct a composite with the described schema using the suppliedScalarValued
objects.RecordToken(ScalarValued... fieldValues)
Constructs a new token using the field values in the given containers.RecordToken(RecordTokenType type, ScalarValued... fieldValues)
Constructs a new token with the specified field types, using the field values in the given containers. -
Uses of ScalarValued in com.pervasive.datarush.tokens.scalar
Subinterfaces of ScalarValued in com.pervasive.datarush.tokens.scalar Modifier and Type Interface Description interface
BinaryValued
ATokenValued
object containing a binary value.interface
BooleanValued
ATokenValued
object containing a boolean value.interface
CharValued
ATokenValued
object containing a character value.interface
DateValued
ATokenValued
object containing a date value.interface
DoubleValued
ATokenValued
object containing a double value.interface
DurationValued
ATokenValued
object containing a Duration value.interface
FloatValued
ATokenValued
object containing a float value.interface
IntValued
ATokenValued
object containing an integer value.interface
Ip4AddressValued
ATokenValued
object containing a ip4 address value.interface
Ip6AddressValued
ATokenValued
object containing a ip4 address value.interface
LongValued
ATokenValued
object containing a long value.interface
MoneyValued
ATokenValued
object containing a money value.interface
NumericValued
ATokenValued
object containing a numeric value.interface
ObjectValued<O>
ATokenValued
object containing a Java object.interface
PeriodValued
ATokenValued
object containing a Period value.interface
ScalarRegister
A mutableScalarValued
object.interface
ScalarToken
An immutableScalarValued
object.interface
StringValued
ATokenValued
object containing a string value.interface
TimestampValued
ATokenValued
object containing a timestamp value.interface
TimeValued
ATokenValued
object containing a time value.Classes in com.pervasive.datarush.tokens.scalar that implement ScalarValued Modifier and Type Class Description class
BinaryRegister
A mutableBinaryValued
object.class
BinaryToken
An immutableBinaryValued
object.class
BooleanRegister
A mutableBooleanValued
object.class
BooleanToken
An immutableBooleanValued
object.class
CharRegister
A mutableCharValued
object.class
CharToken
An immutableCharValued
object.class
DateRegister
A mutableDateValued
object.class
DateToken
An immutableDateValued
object.class
DateTokenConverter
Deprecated.since 6.1class
DoubleRegister
A mutableDoubleValued
object.class
DoubleToken
An immutableDoubleValued
object.class
DurationRegister
A mutableDurationValued
object.class
DurationToken
An immutableDurationValued
object.class
FloatRegister
A mutableBinaryValued
object.class
FloatToken
An immutableFloatValued
object.class
IntRegister
A mutableIntValued
object.class
IntToken
An immutableIntValued
object.class
Ip4AddressRegister
A mutableIp4AddressValued
object.class
Ip4AddressToken
An immutableIp4AddressValued
object.class
Ip6AddressRegister
A mutableIp6AddressValued
object.class
Ip6AddressToken
An immutableIp6AddressValued
object.class
LongRegister
A mutableIntValued
object.class
LongToken
An immutableLongValued
object.class
MoneyRegister
A mutableMoneyValued
object.class
MoneyToken
An immutableMoneyValued
object.class
NullToken
An null token.class
NumericRegister
A mutableNumericValued
object.class
NumericToken
An immutableNumericValued
object.class
ObjectRegister<O>
A mutableObjectValued
object.class
ObjectToken<O>
An immutableObjectValued
object.class
PeriodRegister
A mutablePeriodValued
object.class
PeriodToken
An immutablePeriodValued
object.class
StringRegister
A mutableStringValued
object.class
StringToken
An immutableStringValued
object.class
TimeRegister
A mutableTimeValued
object.class
TimestampRegister
A mutableTimestampValued
object.class
TimestampToken
An immutableTimestampValued
object.class
TimestampTokenConverter
Deprecated.since 6.1class
TimeToken
An immutableTimeValued
object. -
Uses of ScalarValued in com.pervasive.datarush.types
Methods in com.pervasive.datarush.types that return ScalarValued Modifier and Type Method Description ScalarValued
FieldDomain. getLowerBound()
Returns the lower bound of the field ornull
if unknownScalarValued
FieldDomain. getUpperBound()
Returns the upper bound of the field ornull
if unknownMethods in com.pervasive.datarush.types that return types with arguments of type ScalarValued Modifier and Type Method Description Set<ScalarValued>
FieldDomain. getValues()
Returns the allowed values of the field orempty
if unknown.Constructors in com.pervasive.datarush.types with parameters of type ScalarValued Constructor Description FieldDomain(ScalarValued lowerBound, ScalarValued upperBound, Set<? extends ScalarValued> values)
Creates a new field domainConstructor parameters in com.pervasive.datarush.types with type arguments of type ScalarValued Constructor Description FieldDomain(ScalarValued lowerBound, ScalarValued upperBound, Set<? extends ScalarValued> values)
Creates a new field domain
-