Uses of Class
com.streambase.sb.Schema.Field
Package
Description
Provides classes and interfaces fundamental to the LiveView Java API.
Provides classes and interfaces fundamental to the Streaming Java API.
Provides classes and interfaces used to communicate with a Streaming server.
Provides classes and interfaces to add custom operators to Streaming applications.
-
Uses of Schema.Field in com.streambase.liveview.client
Modifier and TypeMethodDescriptionTupleUpdatedEvent.getChangedFields()
Retrieve a list of the fields that changed in this updateAbstractTable.getFields()
AbstractTable.getFields
(boolean includeInternal) BeginDeleteEvent.getFields()
Get the list of fields that the query tuples will haveBeginSnapshotEvent.getFields()
Get the list of fields that the query tuples will haveDeleteQueryListener.getFields()
Retrieves the fields describing the tuples that will be returned.Query.getFields()
Returns a list describing the fields of the tuples that will be returned by this Query.QueryConfig.getFields()
Get the fields or null if not specifiedQueryListenerWrapper.getFields()
SnapshotQueryListener.getFields()
Retrieves the fields describing the tuples that will be returned.SnapshotResult.getFields()
Retrieves the fields describing the tuples that will be returned.Table.getFields()
Returns the fields describing the table columns.Table.getFields
(boolean includeInternal) Returns the fields describing the table columns.AbstractTable.getKeyFields()
Query.getKeyFields()
Returns a list of fields describing the primary key for this table.QueryListenerWrapper.getKeyFields()
Table.getKeyFields()
Returns the schema which describes the key for the records in this table.Modifier and TypeMethodDescriptionQueryConfig.setSelectFields
(Schema.Field... fields) Configure the result fieldsModifier and TypeMethodDescriptionQueryConfig.setQuery
(List<Schema.Field> fields, String table, String predicate) Configure the table to query, the predicate and the result fieldsQueryConfig.setQuery
(List<Schema.Field> fields, String table, String predicate, int limit) Configure the table to query, the predicate and the result fields using a specified row limitQueryConfig.setQuery
(List<Schema.Field> fields, String table, String predicate, int limit, long timePredicateInMillis) Configure the table to query, the predicate and the result fields using a specified row limit and row delayQueryConfig.setSelectFields
(List<Schema.Field> fields) Configure the result fieldsModifierConstructorDescriptionBeginDeleteEvent
(Object source, List<Schema.Field> fields) BeginSnapshotEvent
(Object source, List<Schema.Field> fields) TupleUpdatedEvent
(Object source, Long oldKey, Tuple oldTuple, Tuple newTuple, Tuple keyData, List<Schema.Field> changedFields, List<com.streambase.liveview.client.internal.TupleFieldComparator> fieldComparators) TupleUpdatedEvent
(Object source, Long key, Tuple oldTuple, Tuple newTuple, List<Schema.Field> changedFields) Deprecated. -
Uses of Schema.Field in com.streambase.sb
Modifier and TypeMethodDescriptionstatic Schema.Field
Schema.createField
(DataType type, String name) Creates a new Field of the given DataType, with the given name.static Schema.Field
Schema.createFunctionField
(String fieldName, Schema argumentSchema, CompleteDataType returnType) Creates a new Field of type FUNCTION, with the given name, argument list and return type.static Schema.Field
Schema.createListField
(String name, CompleteDataType elementType) Creates a new Field of type LIST, with the given name and given element typestatic Schema.Field
Schema.createTupleField
(String name, Schema schema) Creates a new Field of type TUPLE, with the given name and given schemaSchema.getField
(int fieldIndex) Return a Field object at the given index within the schemaReturn a Field object with the given field pathname in or under this schema.TupleRep.TupleLayout.getField
(int i) Get field at indexSchema.getFields()
Return an array of Field objects corresponding to the fields in the schema.Schema.Field.getNestedField
(String fieldPathName) Return a field that identifies a field in a nested tuple field.Schema.Field.getNestedFields()
Return an array of fields, each of which identifies a field in a nested tuple field.(package private) static Schema.Field
Schema.Field.sanitizedField
(int index, CompleteDataType type) Create a sanitized field from the parameters, using cached string name if possible and bypassing identifier validation.static Schema.Field
SchemaUtil.superSetField
(Schema.Field oldField, Schema.Field newField, Set<SchemaUtil.CoercionOptions> options, com.streambase.sb.internal.CapturedSchemas capturedSchemas) Calculate a super-set of fields(package private) Schema.Field
Schema.Field.toPathlessField()
Return a Field like this Field except with any field path stripped out.Modifier and TypeMethodDescriptionstatic List<Schema.Field>
TupleUtil.buildRandomFields
(Random random, int maxCount) Build a random list of fields.Schema.fields()
Return a List of the Fields in this Schema(package private) List<Schema.Field>
Schema.Field.getFieldPath()
Returns a list of Field's for navigating from this field's containing schema to the subtuple containing this field.Schema.iterator()
Modifier and TypeMethodDescriptionstatic Schema
SchemaUtil.addFields
(Schema base, Schema.Field... additionalFields) Create a new schema augmenting the fields in the base schema with additional fieldsstatic Schema
SchemaUtil.addFields
(Schema base, String newName, Schema.Field... additionalFields) Create a new schema augmenting the fields in the base schema with additional fieldsstatic byte[]
SchemaUtil.buildHash
(Schema.Field[] fields, boolean includeFieldNames) Build hash from schema fields NOTE: ensure C++ routine returns the same values.protected void
Tuple.checkType
(Schema.Field resolvedField, DataType dataType) Check typeprotected int
ReadOnlyTupleRep.checkTypeAndNonNull
(Schema.Field resolvedField, DataType dataType) override checkTypeAndNonNullprotected int
Tuple.checkTypeAndNonNull
(Schema.Field resolvedField, DataType dataType) check the type and make sure it is non null(package private) static void
DataTypeCopier.copyField
(Tuple sourceTuple, Schema.Field sourceField, Tuple destTuple, Schema.Field destField, com.streambase.sb.DataTypeCopier fieldCopier) Copy the field from the source tuple to the destination tuplevoid
Tuple.copyField
(Schema.Field sourceField, Tuple destTuple, Schema.Field destField) Copy the field from this tuple to the destination tuple(package private) void
ListCopier.copyList
(Tuple sourceTuple, Schema.Field sourceField, Tuple destTuple, Schema.Field destField) Copy listboolean
Schema.Field.equalsNoCapture
(Schema.Field other) Compare non-capture fieldsstatic String
TupleJSONUtil.fieldObjectToJsonString
(Schema.Field f, Object value, EnumSet<TupleJSONUtil.Options> options) static String
TupleJSONUtil.fieldObjectToJsonString
(Schema.Field f, Object value, EnumSet<TupleJSONUtil.Options> options, String timestampFormat) TupleUtil.DebuggerFieldFormatter.formatFieldValue
(Schema.Field field, Object fieldValue, com.streambase.sb.util.CSV.FormatInfo format, boolean verbose, boolean showTupleId, String nullString, boolean hexEncodeBlobs, boolean quoteNullStrings) Format field valueT
DataType.Registry.get
(Schema.Field field) Return the factory for the type of the specified Field.Tuple.getAllocatedTuple
(Schema.Field field) Return a reference (not a copy) to the specified nested tuple field.Tuple.getBlobBuffer
(Schema.Field field) Return a ByteArrayView for a given blob field.protected ByteArrayView
ReadOnlyCompositeTuple.getBlobBufferImpl
(Schema.Field field) protected ByteArrayView
ReadOnlyTupleByIndexWrapper.getBlobBufferImpl
(Schema.Field field) ReadOnlyTupleRep.getBlobBufferImpl
(Schema.Field field) protected ByteArrayView
ReadWriteTupleWrapper.getBlobBufferImpl
(Schema.Field field) TupleRep.getBlobBufferImpl
(Schema.Field field) boolean
Tuple.getBoolean
(Schema.Field field) Return the value of a specified boolean field.protected byte
ReadOnlyCompositeTuple.getBooleanAsByteImpl
(Schema.Field field) protected byte
ReadOnlyTupleByIndexWrapper.getBooleanAsByteImpl
(Schema.Field field) byte
ReadOnlyTupleRep.getBooleanAsByteImpl
(Schema.Field field) protected byte
ReadWriteTupleWrapper.getBooleanAsByteImpl
(Schema.Field field) byte
TupleRep.getBooleanAsByteImpl
(Schema.Field field) protected boolean
ReadOnlyCompositeTuple.getBooleanImpl
(Schema.Field field) protected boolean
ReadOnlyTupleByIndexWrapper.getBooleanImpl
(Schema.Field field) boolean
ReadOnlyTupleRep.getBooleanImpl
(Schema.Field field) protected boolean
ReadWriteTupleWrapper.getBooleanImpl
(Schema.Field field) boolean
TupleRep.getBooleanImpl
(Schema.Field field) final Tuple
Tuple.getCapture
(Schema.Field field) Return the value of the named capture field.protected Tuple
ReadOnlyCompositeTuple.getCaptureImpl
(Schema.Field field) protected Tuple
ReadOnlyTupleByIndexWrapper.getCaptureImpl
(Schema.Field field) ReadOnlyTupleRep.getCaptureImpl
(Schema.Field field) protected Tuple
ReadWriteTupleWrapper.getCaptureImpl
(Schema.Field field) protected abstract Tuple
Tuple.getCaptureImpl
(Schema.Field field) Get capture fieldprotected Tuple
TupleRep.getCaptureImpl
(Schema.Field field) double
Tuple.getDouble
(Schema.Field field) Return the value of a specified double field.protected double
ReadOnlyCompositeTuple.getDoubleImpl
(Schema.Field field) protected double
ReadOnlyTupleByIndexWrapper.getDoubleImpl
(Schema.Field field) double
ReadOnlyTupleRep.getDoubleImpl
(Schema.Field field) protected double
ReadWriteTupleWrapper.getDoubleImpl
(Schema.Field field) double
TupleRep.getDoubleImpl
(Schema.Field field) final Object
Tuple.getField
(Schema.Field field) Return the value of a specified field.final String
Tuple.getFieldAsString
(Schema.Field field, Tuple.TupleFormatter formatter) Get the current field as a human readable string, using theTuple.TupleFormatter
provided.int
TupleUtil.RepMethods.getFieldLength
(Tuple tuple, Schema.Field field) Get field lengthint
TupleRep.TupleLayout.getFixedDataOffset
(Schema.Field field) Get fixed data field offsetfinal Function
Tuple.getFunction
(Schema.Field field) Return the value of the given function field.protected Function
ReadOnlyCompositeTuple.getFunctionImpl
(Schema.Field field) protected Function
ReadOnlyTupleByIndexWrapper.getFunctionImpl
(Schema.Field field) protected Function
ReadOnlyTupleRep.getFunctionImpl
(Schema.Field field) protected Function
ReadWriteTupleWrapper.getFunctionImpl
(Schema.Field field) protected Function
TupleRep.getFunctionImpl
(Schema.Field field) static CompleteDataType
SchemaUtil.getInnerType
(Schema.Field f) Get element type for fieldint
Tuple.getInt
(Schema.Field field) Return the value of a specified int field.protected int
ReadOnlyCompositeTuple.getIntImpl
(Schema.Field field) protected int
ReadOnlyTupleByIndexWrapper.getIntImpl
(Schema.Field field) int
ReadOnlyTupleRep.getIntImpl
(Schema.Field field) protected int
ReadWriteTupleWrapper.getIntImpl
(Schema.Field field) int
TupleRep.getIntImpl
(Schema.Field field) List<?>
Tuple.getList
(Schema.Field field) Return the value of a specified list field.protected List<?>
ReadOnlyCompositeTuple.getListImpl
(Schema.Field field) protected List<?>
ReadOnlyTupleByIndexWrapper.getListImpl
(Schema.Field field) List<?>
ReadOnlyTupleRep.getListImpl
(Schema.Field field) protected List<?>
ReadWriteTupleWrapper.getListImpl
(Schema.Field field) List<?>
TupleRep.getListImpl
(Schema.Field field) long
Tuple.getLong
(Schema.Field field) Return the value of a specified long field.protected long
ReadOnlyCompositeTuple.getLongImpl
(Schema.Field field) protected long
ReadOnlyTupleByIndexWrapper.getLongImpl
(Schema.Field field) long
ReadOnlyTupleRep.getLongImpl
(Schema.Field field) protected long
ReadWriteTupleWrapper.getLongImpl
(Schema.Field field) long
TupleRep.getLongImpl
(Schema.Field field) protected Tuple
ReadOnlyCompositeTuple.getReadOnlyTuple
(Schema.Field field, int flags) protected abstract Tuple
ReadOnlyTuple.getReadOnlyTuple
(Schema.Field f, int flags) The method that ReadOnly tuples are supposed to implement to get a nested Tuple so that we can consolidate nested tuple logic here for.protected Tuple
ReadOnlyTupleByIndexWrapper.getReadOnlyTuple
(Schema.Field field, int flags) protected Tuple
ReadOnlyTupleRep.getReadOnlyTuple
(Schema.Field field, int flags) static Schema
SchemaUtil.getSchema
(Schema.Field f) Get schema for a schema fieldTuple.getString
(Schema.Field field) Return the value of a specified string field.protected String
ReadOnlyCompositeTuple.getStringImpl
(Schema.Field field) protected String
ReadOnlyTupleByIndexWrapper.getStringImpl
(Schema.Field field) ReadOnlyTupleRep.getStringImpl
(Schema.Field field) protected String
ReadWriteTupleWrapper.getStringImpl
(Schema.Field field) TupleRep.getStringImpl
(Schema.Field field) Tuple.getTimestamp
(Schema.Field field) Return the value of a specified timestamp field.protected long
ReadOnlyCompositeTuple.getTimestampAsLongImpl
(Schema.Field field) protected long
ReadOnlyTupleByIndexWrapper.getTimestampAsLongImpl
(Schema.Field field) long
ReadOnlyTupleRep.getTimestampAsLongImpl
(Schema.Field field) protected long
ReadWriteTupleWrapper.getTimestampAsLongImpl
(Schema.Field field) long
TupleRep.getTimestampAsLongImpl
(Schema.Field field) protected Timestamp
ReadOnlyCompositeTuple.getTimestampImpl
(Schema.Field field) protected Timestamp
ReadOnlyTupleByIndexWrapper.getTimestampImpl
(Schema.Field field) ReadOnlyTupleRep.getTimestampImpl
(Schema.Field field) protected Timestamp
ReadWriteTupleWrapper.getTimestampImpl
(Schema.Field field) TupleRep.getTimestampImpl
(Schema.Field field) Tuple.getTuple
(Schema.Field field) Return a reference (not a copy) to the specified nested tuple field.protected final Tuple
ReadOnlyTuple.getTupleImpl
(Schema.Field field, int flags) Get the tuple for the given field.protected Tuple
ReadWriteTupleWrapper.getTupleImpl
(Schema.Field field, int flags) TupleRep.getTupleImpl
(Schema.Field field, int flags) int
TupleRep.TupleLayout.getVarDataIndex
(Schema.Field field) Get variable field indexboolean
Tuple.isNull
(Schema.Field field) Determines whether the given field's value in this Tuple is null.protected boolean
ReadOnlyCompositeTuple.isNullImpl
(Schema.Field field) protected boolean
ReadOnlyTupleByIndexWrapper.isNullImpl
(Schema.Field field) boolean
ReadOnlyTupleRep.isNullImpl
(Schema.Field field) protected boolean
ReadWriteTupleWrapper.isNullImpl
(Schema.Field field) boolean
TupleRep.isNullImpl
(Schema.Field field) (package private) abstract void
TupleUtil.RepMethods.serializeField
(com.streambase.sb.TupleRep tuple, Schema.Field field, com.streambase.sb.util.ByteOrderedDataOutput out) Serialize fieldvoid
Tuple.setBlobBuffer
(Schema.Field field, ByteArrayView value) Set a specified blob field to a copy of a specified blob.protected void
ReadOnlyTuple.setBlobBufferImpl
(Schema.Field field, ByteArrayView value) protected void
ReadWriteTupleWrapper.setBlobBufferImpl
(Schema.Field field, ByteArrayView value) void
TupleRep.setBlobBufferImpl
(Schema.Field field, ByteArrayView blob) void
Tuple.setBoolean
(Schema.Field field, boolean value) Set a named boolean field to a specified value.protected void
ReadOnlyTuple.setBooleanImpl
(Schema.Field field, boolean value) protected void
ReadWriteTupleWrapper.setBooleanImpl
(Schema.Field field, boolean value) void
TupleRep.setBooleanImpl
(Schema.Field field, boolean value) final void
Tuple.setCapture
(Schema.Field field, Tuple value) Set a specified capture field to a copy of a specified tuple.protected void
ReadOnlyTuple.setCaptureImpl
(Schema.Field field, Tuple value, boolean makeCopy) protected void
ReadWriteTupleWrapper.setCaptureImpl
(Schema.Field field, Tuple value, boolean makeCopy) void
TupleRep.setCaptureImpl
(Schema.Field field, Tuple value, boolean makeCopy) void
Tuple.setDouble
(Schema.Field field, double value) Set a named double field to a specified value.protected void
ReadOnlyTuple.setDoubleImpl
(Schema.Field field, double value) protected void
ReadWriteTupleWrapper.setDoubleImpl
(Schema.Field field, double value) void
TupleRep.setDoubleImpl
(Schema.Field field, double value) final void
Tuple.setField
(Schema.Field field, Object value) Set a specified field to a specified boxed value.final void
Tuple.setField
(Schema.Field field, Object value, com.streambase.sb.util.CSV.FormatInfo format) Set the field at a specified field name to a specified boxed value.static void
TupleUtil.setField
(Tuple tuple, Schema.Field field, CharSequence value, com.streambase.sb.util.CSV.FormatInfo csvFormat) Set a specified field to the values the supplied value string.static void
TupleUtil.setField
(Tuple tuple, Schema.Field field, CharSequence value, String nullString) Deprecated.final void
Tuple.setFunction
(Schema.Field field, Function value) Set a specified function field to the givenFunction
protected void
ReadOnlyTuple.setFunctionImpl
(Schema.Field pathlessField, Function value) protected void
ReadWriteTupleWrapper.setFunctionImpl
(Schema.Field pathlessField, Function value) protected void
TupleRep.setFunctionImpl
(Schema.Field field, Function value) void
Tuple.setInt
(Schema.Field field, int value) Set a specified int field to a specified value.protected void
ReadOnlyTuple.setIntImpl
(Schema.Field field, int value) protected void
ReadWriteTupleWrapper.setIntImpl
(Schema.Field field, int value) void
TupleRep.setIntImpl
(Schema.Field field, int value) void
Tuple.setList
(Schema.Field field, List<?> value) Set a specified list field to a copy of a specified value.protected void
ReadOnlyTuple.setListImpl
(Schema.Field field, List<?> value) protected void
ReadWriteTupleWrapper.setListImpl
(Schema.Field field, List<?> value) void
TupleRep.setListImpl
(Schema.Field field, List<?> value) void
Tuple.setLong
(Schema.Field field, long value) Set a specified long field to a specified value.protected void
ReadOnlyTuple.setLongImpl
(Schema.Field field, long value) protected void
ReadWriteTupleWrapper.setLongImpl
(Schema.Field field, long value) void
TupleRep.setLongImpl
(Schema.Field field, long value) void
Tuple.setNull
(Schema.Field field) Set the specified field to nullprotected void
ReadOnlyTuple.setNullImpl
(Schema.Field field) protected void
ReadWriteTupleWrapper.setNullImpl
(Schema.Field field) void
TupleRep.setNullImpl
(Schema.Field field) final void
Tuple.setString
(Schema.Field field, CharSequence value) Set a specified string field to a specified value.protected void
ReadOnlyTuple.setStringImpl
(Schema.Field field, CharSequence value) protected void
ReadWriteTupleWrapper.setStringImpl
(Schema.Field field, CharSequence value) void
TupleRep.setStringImpl
(Schema.Field field, CharSequence value) void
Tuple.setTimestamp
(Schema.Field field, Timestamp value) Set a named timestamp field to a specified value.protected void
ReadOnlyTuple.setTimestampImpl
(Schema.Field field, long value) protected void
ReadOnlyTuple.setTimestampImpl
(Schema.Field field, Timestamp value) protected void
ReadWriteTupleWrapper.setTimestampImpl
(Schema.Field field, long value) protected void
ReadWriteTupleWrapper.setTimestampImpl
(Schema.Field field, Timestamp value) void
TupleRep.setTimestampImpl
(Schema.Field field, long value) void
TupleRep.setTimestampImpl
(Schema.Field field, Timestamp value) void
Tuple.setTuple
(Schema.Field field, Tuple value) Set a specified nested tuple field to that of the specified tuple NOTE: A copy of the the tuple may be made to convert the given tuple to the appropriate internal representation.protected void
ReadOnlyTuple.setTupleImpl
(Schema.Field field, Tuple value) protected void
ReadWriteTupleWrapper.setTupleImpl
(Schema.Field field, Tuple value) void
TupleRep.setTupleImpl
(Schema.Field field, Tuple value) static Schema.Field
SchemaUtil.superSetField
(Schema.Field oldField, Schema.Field newField, Set<SchemaUtil.CoercionOptions> options, com.streambase.sb.internal.CapturedSchemas capturedSchemas) Calculate a super-set of fieldsvoid
SchemaUtil.SchemaTraversal.visitField
(Schema.Field field, String fieldPath) This method will be called for each and every field in the schema, including nested fields and fields in lists of tuplesModifier and TypeMethodDescriptionstatic Schema
SBUtils.newSchema
(String name, List<Schema.Field> fields, boolean hasHeader, ByteOrder order) Deprecated.please useSBUtils.newSchema(String, List, ByteOrder)
static Schema
SBUtils.newSchema
(String name, List<Schema.Field> fields, ByteOrder order) Create a new schemaModifierConstructorDescriptionField
(Schema.Field field) Construct a Field from an existing Field.Field
(String name, Schema.Field field) Construct a Field from an existing Field, giving the new field a specified nameSchema
(String name, Schema.Field... fields) Construct a Schema out of a list ofSchema.Field
Schema
(String name, String description, Schema.Field... fields) Construct a Schema out of a list ofSchema.Field
ModifierConstructorDescriptionSchema
(String name, List<Schema.Field> fields) Create a new schema from a list ofSchema.Field
-
Uses of Schema.Field in com.streambase.sb.client
Modifier and TypeMethodDescriptionHAAdmin.getDynamicVariableField
(long timeoutMS, com.streambase.sb.util.Path dynamicVariablePath) XmlRpcAdmin.getDynamicVariableField
(long timeoutMS, com.streambase.sb.util.Path dynvarPath) -
Uses of Schema.Field in com.streambase.sb.operator
Modifier and TypeMethodDescriptionTableAccessor.getPrimaryKeyFields()
The fields from the schema which make up the primary key.
TupleUtil.setField(Tuple, Field, CharSequence, CSV.FormatInfo)