MapSchema.MapWrapper<K,V>, MapSchema.MessageFactories, MapSchema.MessageFactory| Modifier and Type | Field and Description |
|---|---|
static StringMapSchema<java.lang.String> |
VALUE_STRING
The schema for Map
|
Pipe.Schema<V> |
vPipeSchema
The pipe schema of the message value.
|
Schema<V> |
vSchema
The schema of the message value.
|
FIELD_NAME_ENTRY, FIELD_NAME_KEY, FIELD_NAME_VALUE, messageFactory, pipeSchema| Constructor and Description |
|---|
StringMapSchema(Schema<V> vSchema) |
StringMapSchema(Schema<V> vSchema,
Pipe.Schema<V> vPipeSchema) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
putValueFrom(Input input,
MapSchema.MapWrapper<java.lang.String,V> wrapper,
java.lang.String key)
Puts the entry(key and value), obtained from the input, into the
MapWrapper. |
protected java.lang.String |
readKeyFrom(Input input,
MapSchema.MapWrapper<java.lang.String,V> wrapper)
Reads the key from the input.
|
protected void |
transferKey(Pipe pipe,
Input input,
Output output,
int number,
boolean repeated)
Transfers the key from the input to the output.
|
protected void |
transferValue(Pipe pipe,
Input input,
Output output,
int number,
boolean repeated)
Transfers the value from the input to the output.
|
protected void |
writeKeyTo(Output output,
int fieldNumber,
java.lang.String value,
boolean repeated)
Writes the key to the output.
|
protected void |
writeValueTo(Output output,
int fieldNumber,
V value,
boolean repeated)
Writes the value to the output.
|
getFieldName, getFieldNumber, isInitialized, mergeFrom, messageFullName, messageName, newMessage, typeClass, writeTopublic static final StringMapSchema<java.lang.String> VALUE_STRING
public final Pipe.Schema<V> vPipeSchema
public StringMapSchema(Schema<V> vSchema, Pipe.Schema<V> vPipeSchema)
protected final java.lang.String readKeyFrom(Input input, MapSchema.MapWrapper<java.lang.String,V> wrapper) throws java.io.IOException
MapSchemareadKeyFrom in class MapSchema<java.lang.String,V>java.io.IOExceptionprotected void putValueFrom(Input input, MapSchema.MapWrapper<java.lang.String,V> wrapper, java.lang.String key) throws java.io.IOException
MapSchemaMapWrapper.putValueFrom in class MapSchema<java.lang.String,V>java.io.IOExceptionprotected final void writeKeyTo(Output output, int fieldNumber, java.lang.String value, boolean repeated) throws java.io.IOException
MapSchemawriteKeyTo in class MapSchema<java.lang.String,V>java.io.IOExceptionprotected void writeValueTo(Output output, int fieldNumber, V value, boolean repeated) throws java.io.IOException
MapSchemawriteValueTo in class MapSchema<java.lang.String,V>java.io.IOExceptionprotected void transferKey(Pipe pipe, Input input, Output output, int number, boolean repeated) throws java.io.IOException
MapSchematransferKey in class MapSchema<java.lang.String,V>java.io.IOExceptionprotected void transferValue(Pipe pipe, Input input, Output output, int number, boolean repeated) throws java.io.IOException
MapSchematransferValue in class MapSchema<java.lang.String,V>java.io.IOExceptionCopyright © 2009-2016. All Rights Reserved.