Package | Description |
---|---|
com.pervasive.datarush.encoding.binary |
Implementations of encoders of tokens
into binary formats.
|
com.pervasive.datarush.operators.assertion |
Provides operators for making assertions on flows and files.
|
com.pervasive.datarush.operators.io.staging |
Provides operators for reading and writing DataRush staging datasets.
|
com.pervasive.datarush.operators.scripting |
Provides the
RunScript
operator for running user-defined scripts on the rows of an input record flow. |
com.pervasive.datarush.ports |
Provides classes and interfaces related to receiving and sending data in a dataflow graph.
|
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 |
Provides classes and interfaces related to sequences of tokens.
|
com.pervasive.datarush.tokens |
Provides classes and utilities for working with data tokens.
|
com.pervasive.datarush.types |
Provides classes and interfaces for the description of token data types.
|
Modifier and Type | Method and Description |
---|---|
TokenDecoder |
TokenEncodings.allocateDecoder(TokenType type,
TokenOrder... ordering)
Creates a default decoder appropriate for the given type.
|
TokenEncoder |
TokenEncodings.allocateEncoder(TokenType type,
TokenOrder... ordering)
Creates a default encoder appropriate for the given type.
|
boolean |
EncoderFactory.isFactoryForType(TokenType type)
Determine if this factory supports the given class type.
|
boolean |
AbstractObjectEncoderFactory.isFactoryForType(TokenType type) |
TokenDecoder |
EncoderFactory.newDecoder(TokenType type)
Create a new
decoder instance for the given type. |
TokenDecoder |
AbstractObjectEncoderFactory.newDecoder(TokenType type) |
TokenEncoder |
EncoderFactory.newEncoder(TokenType type)
Create a new
encoder instance for the given type. |
TokenEncoder |
AbstractObjectEncoderFactory.newEncoder(TokenType type) |
Modifier and Type | Method and Description |
---|---|
TokenType |
AssertEqualTypes.getExpectedType()
Get the expected type value.
|
Modifier and Type | Method and Description |
---|---|
TokenType |
DatasetMetadata.getSchema()
Returns the schema of the data set.
|
Modifier and Type | Method and Description |
---|---|
TokenType |
ScriptOutputTypeException.getFieldType()
Retrieves the type of the field to which a value of the wrong type was
assigned.
|
Constructor and Description |
---|
ScriptOutputTypeException(String fieldName,
TokenType fieldType,
ClassCastException cause)
Constructs an exception indicating that a script attempted to assign a
value of the wrong type to the specified output field.
|
Modifier and Type | Method and Description |
---|---|
TokenType |
PhysicalPort.getType()
Gets the type of tokens in the underlying flow.
|
Modifier and Type | Method and Description |
---|---|
TokenType |
PortStatistics.getType()
Gets the type of tokens handled by the port.
|
TokenType |
PortSnapshot.getType()
Gets the type of tokens handled by the port.
|
Modifier and Type | Method and Description |
---|---|
static MutableTokenSequence |
TokenSequences.allocateList(TokenType type,
int initialCapacity)
Creates a
MutableTokenSequence for tokens of the specified type. |
static MutableTokenSequence |
TokenSequences.allocateList(TokenType type,
int initialCapacity,
DataRepresentation representation)
Creates a
MutableTokenSequence for tokens of the specified type. |
Modifier and Type | Method and Description |
---|---|
TokenType |
TokenValued.getType()
Gets the data type of the token.
|
TokenType |
TokenComparator.getType()
Gets the type of tokens for which the comparator is valid.
|
Modifier and Type | Method and Description |
---|---|
static TokenComparator |
TokenComparators.getComparator(TokenType type)
Creates a comparator appropriate for the given type.
|
static TokenComparator |
TokenComparators.getComparator(TokenType type,
TokenOrder order)
Creates a comparator appropriate for the given type ordered in
the specified direction.
|
static TokenConverter |
TokenConverters.getConverter(TokenType type)
Creates a converter appropriate for the given type.
|
static TokenValued |
TokenUtils.getNull(TokenType type)
Returns an appropriate null value for the given type.
|
static DataRegister |
TokenRegisters.getRegister(TokenType type)
Creates a
DataRegister appropriate for the given type. |
static DataToken |
TokenUtils.getZero(TokenType type)
Returns an appropriate zero value for the given type.
|
Modifier and Type | Interface and Description |
---|---|
interface |
GenericTokenType
A description of the generic data type, the root of the type hierarchy.
|
interface |
RecordTokenType
A description of a record data type.
|
interface |
ScalarTokenType
A description of a scalar data type.
|
Modifier and Type | Class and Description |
---|---|
class |
EnumTokenType
Deprecated.
Replace with string+domain
|
class |
ObjectTokenType<O>
A description of a scalar data type for a Java class.
|
Modifier and Type | Method and Description |
---|---|
static TokenType |
TypeUtil.fromJSON(String json)
Parses a JSON description of a
TokenType . |
TokenType |
FieldTypeNotSupportedException.getFieldType()
Gets the type of the field which caused the error.
|
TokenType |
TypesNotComparableException.getLeftType()
Gets the type of the object on the left side of the
comparison which raised this exception.
|
TokenType |
FieldTypesNotComparableException.getLeftType()
Gets the type of the field on the left side of the comparison which
raised this exception.
|
TokenType |
TypesNotComparableException.getRightType()
Gets the type of the object on the right side of the
comparison which raised this exception.
|
TokenType |
FieldTypesNotComparableException.getRightType()
Gets the type of the field on the right side of the comparison which
raised this exception.
|
TokenType |
TypeNotSupportedException.getType()
Gets the type which violated the constraint.
|
TokenType |
TokenTyped.getType()
Gets the type of data tokens handled by the implementor.
|
static TokenType[] |
TokenTypeConstant.values()
Gets the descriptors for all supported token types.
|
Modifier and Type | Method and Description |
---|---|
void |
TokenType.checkComparable(TokenType type)
Tests whether tokens of the specified type can be
compared to tokens of this type.
|
void |
RecordTokenType.checkComparable(TokenType type)
Tests whether tokens of the specified type can be
compared to tokens of this type.
|
void |
ObjectTokenType.checkComparable(TokenType type) |
void |
EnumTokenType.checkComparable(TokenType type)
Deprecated.
|
void |
RecordTokenType.checkFieldTypeConstraint(TokenType constraint)
Checks that all fields of this type are compatible
with the specified constraining type.
|
T |
TypeDispatchedConstructor.constructForType(TokenType type)
Construct an object appropriate for the specified type.
|
Object |
TokenValueExtractor.constructForType(TokenType type) |
protected abstract void |
TypeDispatchedConstructor.handleUnsupportedType(TokenType type)
Handles processing of the specified unsupported type.
|
protected void |
TokenValueExtractor.handleUnsupportedType(TokenType type) |
boolean |
TokenType.isAssignableFrom(TokenType source)
Indicates whether tokens of the specified type are
compatible or implicitly convertible to this type.
|
boolean |
RecordTokenType.isAssignableFrom(TokenType source)
Indicates whether tokens of the specified type are
compatible with or implicitly convertible to this type.
|
boolean |
ObjectTokenType.isAssignableFrom(TokenType source) |
boolean |
EnumTokenType.isAssignableFrom(TokenType source)
Deprecated.
|
static DataRepresentation |
TypeUtil.mergeRepresentations(TokenType... types)
Returns the overall representation to be used when combining types.
|
static RecordTokenType |
TypeUtil.mergeTypes(TokenType... types)
Merges the specified types into a single record type, handling name collisions
by renaming.
|
static String |
TypeUtil.toJSON(TokenType type)
Generates the JSON description of the specified type.
|
Constructor and Description |
---|
FieldTypeNotSupportedException(GraphPath field,
TokenType type)
Constructs a
FieldTypeNotSupportedException indicating the
type and path of the field in error. |
FieldTypeNotSupportedException(String field,
TokenType type)
Constructs a
FieldTypeNotSupportedException indicating the
type and name of the field in error. |
TypeNotSupportedException(TokenType type,
String reason)
Constructs a
TypeNotSupportException indicating the
specified type and providing additional context information
about the failure. |
TypesNotComparableException(TokenType leftType,
TokenType rightType)
Constructs a
TypesNotComparableException indicating the
specified types were compared. |
TypesNotComparableException(TokenType leftType,
TokenType rightType,
String reason)
Constructs a
TypesNotComparableException indicating the
specified types were compared, providing additional information
about the failure. |
Copyright © 2016 Actian Corporation. All rights reserved.