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 voidTokenFormatter. 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 ScalarValuedEvaluationContext. 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.ScalarValuedConstantReference. getSubexpressionEvaluation(EvaluationContext ctx)ScalarValuedFieldReference. getSubexpressionEvaluation(EvaluationContext ctx)ScalarValuedScalarValuedFunction. 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 ScalarValuedFunctionPredicates. eq(String field, ScalarValued value)Builds a record predicate which tests the equality of the specified field with a known value.static ScalarValuedFunctionPredicates. gt(String leftField, ScalarValued rightValue)Builds a record predicate which tests whether a field is strictly greater than a known value.static ScalarValuedFunctionPredicates. gte(String leftField, ScalarValued rightValue)Builds a record predicate which tests whether a field is greater than or equal to a known value.static ScalarValuedFunctionPredicates. lt(String leftField, ScalarValued rightValue)Builds a record predicate which tests whether a field is strictly less than a known value.static ScalarValuedFunctionPredicates. lte(String leftField, ScalarValued rightValue)Builds a record predicate which tests whether a field is less than or equal to a known value.static ScalarValuedFunctionPredicates. 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 ScalarValuedReadableStorage. 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 voidAggregator. 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 ScalarValuedDatasetIterator. getField(int index)ScalarValuedDatasetIterator. 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 interfaceBinaryInputFieldA binary valued field of a record input port.interfaceBooleanInputFieldA boolean valued field of a record input port.interfaceCharInputFieldA character valued field of a record input port.interfaceDateInputFieldA date valued field of a record input port.interfaceDoubleInputFieldA double valued field of a record input port.interfaceDurationInputFieldA duration valued field of a record input port.interfaceFloatInputFieldA float valued field of a record input port.interfaceIntInputFieldAn integer valued field of a record input port.interfaceIp4AddressInputFieldA ip4 address valued field of a record input port.interfaceIp6AddressInputFieldA ip6 address valued field of a record input port.interfaceLongInputFieldA long valued field of a record input port.interfaceMoneyInputFieldA money valued field of a record input port.interfaceNumericInputFieldA numeric valued field of a record input port.interfaceObjectInputField<T>An object valued field of a record input port.interfacePeriodInputFieldA period valued field of a record input port.interfaceScalarInputFieldA field of a record input port.interfaceStringInputFieldA string valued field of a record input port.interfaceTimeInputFieldA time valued field of a record input port.interfaceTimestampInputFieldA 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 ScalarValuedScalarTokenSequence. 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 intTokenUtils. compare(ScalarValued value1, ScalarValued value2)Indicates the relative ordering of two scalar values in ascending order.static RecordTokenComparatorTokenComparators. 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 RecordTokenComparatorTokenComparators. 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 classAbstractRecordValued<F extends ScalarValued>For internal use only.Methods in com.pervasive.datarush.tokens.record that return ScalarValued Modifier and Type Method Description ScalarValuedRecordMap.RecordMapIterator. getField(int index)ScalarValuedRecordMap.RecordMapIterator. getField(String fieldName)ScalarValuedRecordValued. getField(int index)Get the field at the given index within the list of fields.ScalarValuedRecordValued. getField(String fieldName)Gets the value of the field with the given name.ScalarValuedRecordValuedFilter. getField(int index)ScalarValuedRecordValuedFilter. 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 voidRecordTokenComparator. setLeftSources(ScalarValued[] sources)Binds the left-hand values of the comparator to the specified objects.voidRecordTokenComparator. setRightSources(ScalarValued[] sources)Binds the right-hand values of the comparator to the specified objects.static RecordTokenRecordToken. 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 suppliedScalarValuedobjects.CompositeValue(ScalarValued[] fields, ModificationCountProvider modCountProvider)Construct a composite from the suppliedScalarValuedobjects.CompositeValue(RecordTokenType type, ScalarValued[] fields)Construct a composite with the described schema using the suppliedScalarValuedobjects.CompositeValue(RecordTokenType type, ScalarValued[] fields, ModificationCountProvider modCountProvider)Construct a composite with the described schema using the suppliedScalarValuedobjects.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 interfaceBinaryValuedATokenValuedobject containing a binary value.interfaceBooleanValuedATokenValuedobject containing a boolean value.interfaceCharValuedATokenValuedobject containing a character value.interfaceDateValuedATokenValuedobject containing a date value.interfaceDoubleValuedATokenValuedobject containing a double value.interfaceDurationValuedATokenValuedobject containing a Duration value.interfaceFloatValuedATokenValuedobject containing a float value.interfaceIntValuedATokenValuedobject containing an integer value.interfaceIp4AddressValuedATokenValuedobject containing a ip4 address value.interfaceIp6AddressValuedATokenValuedobject containing a ip4 address value.interfaceLongValuedATokenValuedobject containing a long value.interfaceMoneyValuedATokenValuedobject containing a money value.interfaceNumericValuedATokenValuedobject containing a numeric value.interfaceObjectValued<O>ATokenValuedobject containing a Java object.interfacePeriodValuedATokenValuedobject containing a Period value.interfaceScalarRegisterA mutableScalarValuedobject.interfaceScalarTokenAn immutableScalarValuedobject.interfaceStringValuedATokenValuedobject containing a string value.interfaceTimestampValuedATokenValuedobject containing a timestamp value.interfaceTimeValuedATokenValuedobject containing a time value.Classes in com.pervasive.datarush.tokens.scalar that implement ScalarValued Modifier and Type Class Description classBinaryRegisterA mutableBinaryValuedobject.classBinaryTokenAn immutableBinaryValuedobject.classBooleanRegisterA mutableBooleanValuedobject.classBooleanTokenAn immutableBooleanValuedobject.classCharRegisterA mutableCharValuedobject.classCharTokenAn immutableCharValuedobject.classDateRegisterA mutableDateValuedobject.classDateTokenAn immutableDateValuedobject.classDateTokenConverterDeprecated.since 6.1classDoubleRegisterA mutableDoubleValuedobject.classDoubleTokenAn immutableDoubleValuedobject.classDurationRegisterA mutableDurationValuedobject.classDurationTokenAn immutableDurationValuedobject.classFloatRegisterA mutableBinaryValuedobject.classFloatTokenAn immutableFloatValuedobject.classIntRegisterA mutableIntValuedobject.classIntTokenAn immutableIntValuedobject.classIp4AddressRegisterA mutableIp4AddressValuedobject.classIp4AddressTokenAn immutableIp4AddressValuedobject.classIp6AddressRegisterA mutableIp6AddressValuedobject.classIp6AddressTokenAn immutableIp6AddressValuedobject.classLongRegisterA mutableIntValuedobject.classLongTokenAn immutableLongValuedobject.classMoneyRegisterA mutableMoneyValuedobject.classMoneyTokenAn immutableMoneyValuedobject.classNullTokenAn null token.classNumericRegisterA mutableNumericValuedobject.classNumericTokenAn immutableNumericValuedobject.classObjectRegister<O>A mutableObjectValuedobject.classObjectToken<O>An immutableObjectValuedobject.classPeriodRegisterA mutablePeriodValuedobject.classPeriodTokenAn immutablePeriodValuedobject.classStringRegisterA mutableStringValuedobject.classStringTokenAn immutableStringValuedobject.classTimeRegisterA mutableTimeValuedobject.classTimestampRegisterA mutableTimestampValuedobject.classTimestampTokenAn immutableTimestampValuedobject.classTimestampTokenConverterDeprecated.since 6.1classTimeTokenAn immutableTimeValuedobject. -
Uses of ScalarValued in com.pervasive.datarush.types
Methods in com.pervasive.datarush.types that return ScalarValued Modifier and Type Method Description ScalarValuedFieldDomain. getLowerBound()Returns the lower bound of the field ornullif unknownScalarValuedFieldDomain. getUpperBound()Returns the upper bound of the field ornullif 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 oremptyif 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
-