|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of Schema in com.dyuproject.protostuff |
|---|
| Classes in com.dyuproject.protostuff that implement Schema | |
|---|---|
class |
CustomSchema<T>
A schema (helper class) that wraps another schema and allows its subclasses to override certain methods for more customization. |
static class |
Pipe.Schema<T>
Schema for transferring data from a source ( Input) to a
different sink (Output). |
| Fields in com.dyuproject.protostuff declared as Schema | |
|---|---|
protected Schema<T> |
CustomSchema.schema
|
Schema<?> |
UninitializedMessageException.targetSchema
|
Schema<T> |
Pipe.Schema.wrappedSchema
|
| Methods in com.dyuproject.protostuff that return Schema | ||
|---|---|---|
Schema<T> |
Message.cachedSchema()
Gets the cached schema of this message. |
|
|
UninitializedMessageException.getTargetSchema()
|
|
| Methods in com.dyuproject.protostuff with parameters of type Schema | ||
|---|---|---|
|
FilterInput.handleUnknownField(int fieldNumber,
Schema<T> schema)
|
|
|
Input.handleUnknownField(int fieldNumber,
Schema<T> schema)
The underlying implementation should handle the unknown field. |
|
|
FilterInput.mergeObject(T value,
Schema<T> schema)
|
|
|
Input.mergeObject(T value,
Schema<T> schema)
Merges an object(with schema) field value. |
|
|
FilterInput.readFieldNumber(Schema<T> schema)
|
|
|
Input.readFieldNumber(Schema<T> schema)
Reads the field number of a message/object tied to the given schema. |
|
void |
StatefulOutput.updateLast(Schema<?> schema,
Schema<?> lastSchema)
Updates the schema if lastSchema was indeed the last schema used. |
|
void |
StatefulOutput.updateLast(Schema<?> schema,
Schema<?> lastSchema)
Updates the schema if lastSchema was indeed the last schema used. |
|
|
FilterOutput.writeObject(int fieldNumber,
T value,
Schema<T> schema,
boolean repeated)
|
|
|
Output.writeObject(int fieldNumber,
T value,
Schema<T> schema,
boolean repeated)
Writes an object(using its schema) field. |
|
| Constructors in com.dyuproject.protostuff with parameters of type Schema | |
|---|---|
CustomSchema(Schema<T> schema)
|
|
Pipe.Schema(Schema<T> wrappedSchema)
|
|
UninitializedMessageException(java.lang.Object targetMessage,
Schema<?> targetSchema)
|
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||