Uses of Class
com.streambase.sb.Schema.Field
Packages that use 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
Fields in com.streambase.liveview.client declared as Schema.FieldMethods in com.streambase.liveview.client that return types with arguments of type Schema.FieldModifier 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.Methods in com.streambase.liveview.client with parameters of type Schema.FieldModifier and TypeMethodDescriptionQueryConfig.setSelectFields(Schema.Field... fields) Configure the result fieldsMethod parameters in com.streambase.liveview.client with type arguments of type Schema.FieldModifier 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 fieldsConstructor parameters in com.streambase.liveview.client with type arguments of type Schema.FieldModifierConstructorDescriptionBeginDeleteEvent(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
Methods in com.streambase.sb that return Schema.FieldModifier and TypeMethodDescriptionstatic Schema.FieldSchema.createField(DataType type, String name) Creates a new Field of the given DataType, with the given name.static Schema.FieldSchema.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.FieldSchema.createListField(String name, CompleteDataType elementType) Creates a new Field of type LIST, with the given name and given element typestatic Schema.FieldSchema.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.static Schema.FieldSchemaUtil.superSetField(Schema.Field oldField, Schema.Field newField, Set<SchemaUtil.CoercionOptions> options, com.streambase.sb.internal.CapturedSchemas capturedSchemas) Calculate a super-set of fieldsMethods in com.streambase.sb that return types with arguments of type Schema.FieldModifier 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 SchemaSchema.iterator()Methods in com.streambase.sb with parameters of type Schema.FieldModifier and TypeMethodDescriptionstatic SchemaSchemaUtil.addFields(Schema base, Schema.Field... additionalFields) Create a new schema augmenting the fields in the base schema with additional fieldsstatic SchemaSchemaUtil.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 voidTuple.checkType(Schema.Field resolvedField, DataType dataType) Check typeprotected intReadOnlyTupleRep.checkTypeAndNonNull(Schema.Field resolvedField, DataType dataType) override checkTypeAndNonNullprotected intTuple.checkTypeAndNonNull(Schema.Field resolvedField, DataType dataType) check the type and make sure it is non nullvoidTuple.copyField(Schema.Field sourceField, Tuple destTuple, Schema.Field destField) Copy the field from this tuple to the destination tuplebooleanSchema.Field.equalsNoCapture(Schema.Field other) Compare non-capture fieldsstatic StringTupleJSONUtil.fieldObjectToJsonString(Schema.Field f, Object value, EnumSet<TupleJSONUtil.Options> options) static StringTupleJSONUtil.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 valueTDataType.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 ByteArrayViewReadOnlyCompositeTuple.getBlobBufferImpl(Schema.Field field) protected ByteArrayViewReadOnlyTupleByIndexWrapper.getBlobBufferImpl(Schema.Field field) ReadOnlyTupleRep.getBlobBufferImpl(Schema.Field field) protected ByteArrayViewReadWriteTupleWrapper.getBlobBufferImpl(Schema.Field field) TupleRep.getBlobBufferImpl(Schema.Field field) booleanTuple.getBoolean(Schema.Field field) Return the value of a specified boolean field.protected byteReadOnlyCompositeTuple.getBooleanAsByteImpl(Schema.Field field) protected byteReadOnlyTupleByIndexWrapper.getBooleanAsByteImpl(Schema.Field field) byteReadOnlyTupleRep.getBooleanAsByteImpl(Schema.Field field) protected byteReadWriteTupleWrapper.getBooleanAsByteImpl(Schema.Field field) byteTupleRep.getBooleanAsByteImpl(Schema.Field field) protected booleanReadOnlyCompositeTuple.getBooleanImpl(Schema.Field field) protected booleanReadOnlyTupleByIndexWrapper.getBooleanImpl(Schema.Field field) booleanReadOnlyTupleRep.getBooleanImpl(Schema.Field field) protected booleanReadWriteTupleWrapper.getBooleanImpl(Schema.Field field) booleanTupleRep.getBooleanImpl(Schema.Field field) final TupleTuple.getCapture(Schema.Field field) Return the value of the named capture field.protected TupleReadOnlyCompositeTuple.getCaptureImpl(Schema.Field field) protected TupleReadOnlyTupleByIndexWrapper.getCaptureImpl(Schema.Field field) ReadOnlyTupleRep.getCaptureImpl(Schema.Field field) protected TupleReadWriteTupleWrapper.getCaptureImpl(Schema.Field field) protected abstract TupleTuple.getCaptureImpl(Schema.Field field) Get capture fieldprotected TupleTupleRep.getCaptureImpl(Schema.Field field) doubleTuple.getDouble(Schema.Field field) Return the value of a specified double field.protected doubleReadOnlyCompositeTuple.getDoubleImpl(Schema.Field field) protected doubleReadOnlyTupleByIndexWrapper.getDoubleImpl(Schema.Field field) doubleReadOnlyTupleRep.getDoubleImpl(Schema.Field field) protected doubleReadWriteTupleWrapper.getDoubleImpl(Schema.Field field) doubleTupleRep.getDoubleImpl(Schema.Field field) final ObjectTuple.getField(Schema.Field field) Return the value of a specified field.final StringTuple.getFieldAsString(Schema.Field field, Tuple.TupleFormatter formatter) Get the current field as a human readable string, using theTuple.TupleFormatterprovided.intTupleUtil.RepMethods.getFieldLength(Tuple tuple, Schema.Field field) Get field lengthintTupleRep.TupleLayout.getFixedDataOffset(Schema.Field field) Get fixed data field offsetfinal FunctionTuple.getFunction(Schema.Field field) Return the value of the given function field.protected FunctionReadOnlyCompositeTuple.getFunctionImpl(Schema.Field field) protected FunctionReadOnlyTupleByIndexWrapper.getFunctionImpl(Schema.Field field) protected FunctionReadOnlyTupleRep.getFunctionImpl(Schema.Field field) protected FunctionReadWriteTupleWrapper.getFunctionImpl(Schema.Field field) protected FunctionTupleRep.getFunctionImpl(Schema.Field field) static CompleteDataTypeSchemaUtil.getInnerType(Schema.Field f) Get element type for fieldintTuple.getInt(Schema.Field field) Return the value of a specified int field.protected intReadOnlyCompositeTuple.getIntImpl(Schema.Field field) protected intReadOnlyTupleByIndexWrapper.getIntImpl(Schema.Field field) intReadOnlyTupleRep.getIntImpl(Schema.Field field) protected intReadWriteTupleWrapper.getIntImpl(Schema.Field field) intTupleRep.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) longTuple.getLong(Schema.Field field) Return the value of a specified long field.protected longReadOnlyCompositeTuple.getLongImpl(Schema.Field field) protected longReadOnlyTupleByIndexWrapper.getLongImpl(Schema.Field field) longReadOnlyTupleRep.getLongImpl(Schema.Field field) protected longReadWriteTupleWrapper.getLongImpl(Schema.Field field) longTupleRep.getLongImpl(Schema.Field field) protected TupleReadOnlyCompositeTuple.getReadOnlyTuple(Schema.Field field, int flags) protected abstract TupleReadOnlyTuple.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 TupleReadOnlyTupleByIndexWrapper.getReadOnlyTuple(Schema.Field field, int flags) protected TupleReadOnlyTupleRep.getReadOnlyTuple(Schema.Field field, int flags) static SchemaSchemaUtil.getSchema(Schema.Field f) Get schema for a schema fieldTuple.getString(Schema.Field field) Return the value of a specified string field.protected StringReadOnlyCompositeTuple.getStringImpl(Schema.Field field) protected StringReadOnlyTupleByIndexWrapper.getStringImpl(Schema.Field field) ReadOnlyTupleRep.getStringImpl(Schema.Field field) protected StringReadWriteTupleWrapper.getStringImpl(Schema.Field field) TupleRep.getStringImpl(Schema.Field field) Tuple.getTimestamp(Schema.Field field) Return the value of a specified timestamp field.protected longReadOnlyCompositeTuple.getTimestampAsLongImpl(Schema.Field field) protected longReadOnlyTupleByIndexWrapper.getTimestampAsLongImpl(Schema.Field field) longReadOnlyTupleRep.getTimestampAsLongImpl(Schema.Field field) protected longReadWriteTupleWrapper.getTimestampAsLongImpl(Schema.Field field) longTupleRep.getTimestampAsLongImpl(Schema.Field field) protected TimestampReadOnlyCompositeTuple.getTimestampImpl(Schema.Field field) protected TimestampReadOnlyTupleByIndexWrapper.getTimestampImpl(Schema.Field field) ReadOnlyTupleRep.getTimestampImpl(Schema.Field field) protected TimestampReadWriteTupleWrapper.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 TupleReadOnlyTuple.getTupleImpl(Schema.Field field, int flags) Get the tuple for the given field.protected TupleReadWriteTupleWrapper.getTupleImpl(Schema.Field field, int flags) TupleRep.getTupleImpl(Schema.Field field, int flags) intTupleRep.TupleLayout.getVarDataIndex(Schema.Field field) Get variable field indexbooleanTuple.isNull(Schema.Field field) Determines whether the given field's value in this Tuple is null.protected booleanReadOnlyCompositeTuple.isNullImpl(Schema.Field field) protected booleanReadOnlyTupleByIndexWrapper.isNullImpl(Schema.Field field) booleanReadOnlyTupleRep.isNullImpl(Schema.Field field) protected booleanReadWriteTupleWrapper.isNullImpl(Schema.Field field) booleanTupleRep.isNullImpl(Schema.Field field) voidTuple.setBlobBuffer(Schema.Field field, ByteArrayView value) Set a specified blob field to a copy of a specified blob.protected voidReadOnlyTuple.setBlobBufferImpl(Schema.Field field, ByteArrayView value) protected voidReadWriteTupleWrapper.setBlobBufferImpl(Schema.Field field, ByteArrayView value) voidTupleRep.setBlobBufferImpl(Schema.Field field, ByteArrayView blob) voidTuple.setBoolean(Schema.Field field, boolean value) Set a named boolean field to a specified value.protected voidReadOnlyTuple.setBooleanImpl(Schema.Field field, boolean value) protected voidReadWriteTupleWrapper.setBooleanImpl(Schema.Field field, boolean value) voidTupleRep.setBooleanImpl(Schema.Field field, boolean value) final voidTuple.setCapture(Schema.Field field, Tuple value) Set a specified capture field to a copy of a specified tuple.protected voidReadOnlyTuple.setCaptureImpl(Schema.Field field, Tuple value, boolean makeCopy) protected voidReadWriteTupleWrapper.setCaptureImpl(Schema.Field field, Tuple value, boolean makeCopy) voidTupleRep.setCaptureImpl(Schema.Field field, Tuple value, boolean makeCopy) voidTuple.setDouble(Schema.Field field, double value) Set a named double field to a specified value.protected voidReadOnlyTuple.setDoubleImpl(Schema.Field field, double value) protected voidReadWriteTupleWrapper.setDoubleImpl(Schema.Field field, double value) voidTupleRep.setDoubleImpl(Schema.Field field, double value) final voidTuple.setField(Schema.Field field, Object value) Set a specified field to a specified boxed value.final voidTuple.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 voidTupleUtil.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 voidTupleUtil.setField(Tuple tuple, Schema.Field field, CharSequence value, String nullString) Deprecated.final voidTuple.setFunction(Schema.Field field, Function value) Set a specified function field to the givenFunctionprotected voidReadOnlyTuple.setFunctionImpl(Schema.Field pathlessField, Function value) protected voidReadWriteTupleWrapper.setFunctionImpl(Schema.Field pathlessField, Function value) protected voidTupleRep.setFunctionImpl(Schema.Field field, Function value) voidTuple.setInt(Schema.Field field, int value) Set a specified int field to a specified value.protected voidReadOnlyTuple.setIntImpl(Schema.Field field, int value) protected voidReadWriteTupleWrapper.setIntImpl(Schema.Field field, int value) voidTupleRep.setIntImpl(Schema.Field field, int value) voidTuple.setList(Schema.Field field, List<?> value) Set a specified list field to a copy of a specified value.protected voidReadOnlyTuple.setListImpl(Schema.Field field, List<?> value) protected voidReadWriteTupleWrapper.setListImpl(Schema.Field field, List<?> value) voidTupleRep.setListImpl(Schema.Field field, List<?> value) voidTuple.setLong(Schema.Field field, long value) Set a specified long field to a specified value.protected voidReadOnlyTuple.setLongImpl(Schema.Field field, long value) protected voidReadWriteTupleWrapper.setLongImpl(Schema.Field field, long value) voidTupleRep.setLongImpl(Schema.Field field, long value) voidTuple.setNull(Schema.Field field) Set the specified field to nullprotected voidReadOnlyTuple.setNullImpl(Schema.Field field) protected voidReadWriteTupleWrapper.setNullImpl(Schema.Field field) voidTupleRep.setNullImpl(Schema.Field field) final voidTuple.setString(Schema.Field field, CharSequence value) Set a specified string field to a specified value.protected voidReadOnlyTuple.setStringImpl(Schema.Field field, CharSequence value) protected voidReadWriteTupleWrapper.setStringImpl(Schema.Field field, CharSequence value) voidTupleRep.setStringImpl(Schema.Field field, CharSequence value) voidTuple.setTimestamp(Schema.Field field, Timestamp value) Set a named timestamp field to a specified value.protected voidReadOnlyTuple.setTimestampImpl(Schema.Field field, long value) protected voidReadOnlyTuple.setTimestampImpl(Schema.Field field, Timestamp value) protected voidReadWriteTupleWrapper.setTimestampImpl(Schema.Field field, long value) protected voidReadWriteTupleWrapper.setTimestampImpl(Schema.Field field, Timestamp value) voidTupleRep.setTimestampImpl(Schema.Field field, long value) voidTupleRep.setTimestampImpl(Schema.Field field, Timestamp value) voidTuple.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 voidReadOnlyTuple.setTupleImpl(Schema.Field field, Tuple value) protected voidReadWriteTupleWrapper.setTupleImpl(Schema.Field field, Tuple value) voidTupleRep.setTupleImpl(Schema.Field field, Tuple value) static Schema.FieldSchemaUtil.superSetField(Schema.Field oldField, Schema.Field newField, Set<SchemaUtil.CoercionOptions> options, com.streambase.sb.internal.CapturedSchemas capturedSchemas) Calculate a super-set of fieldsvoidSchemaUtil.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 tuplesMethod parameters in com.streambase.sb with type arguments of type Schema.FieldModifier and TypeMethodDescriptionstatic SchemaSBUtils.newSchema(String name, List<Schema.Field> fields, boolean hasHeader, ByteOrder order) Deprecated.please useSBUtils.newSchema(String, List, ByteOrder)static SchemaSBUtils.newSchema(String name, List<Schema.Field> fields, ByteOrder order) Create a new schemaConstructors in com.streambase.sb with parameters of type Schema.FieldModifierConstructorDescriptionField(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.FieldSchema(String name, String description, Schema.Field... fields) Construct a Schema out of a list ofSchema.FieldConstructor parameters in com.streambase.sb with type arguments of type Schema.FieldModifierConstructorDescriptionSchema(String name, List<Schema.Field> fields) Create a new schema from a list ofSchema.Field -
Uses of Schema.Field in com.streambase.sb.client
Methods in com.streambase.sb.client that return Schema.FieldModifier and TypeMethodDescriptionXmlRpcAdmin.getDynamicVariableField(long timeoutMS, com.streambase.sb.util.Path dynvarPath) -
Uses of Schema.Field in com.streambase.sb.operator
Methods in com.streambase.sb.operator that return types with arguments of type Schema.FieldModifier and TypeMethodDescriptionTableAccessor.getPrimaryKeyFields()The fields from the schema which make up the primary key.
TupleUtil.setField(Tuple, Field, CharSequence, CSV.FormatInfo)