public static final class ReadSupport.ReadContext extends Object
| Constructor and Description |
|---|
ReadContext(MessageType requestedSchema) |
ReadContext(MessageType requestedSchema,
Map<String,String> readSupportMetadata) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getReadSupportMetadata() |
MessageType |
getRequestedSchema() |
public ReadContext(MessageType requestedSchema)
requestedSchema - the schema requested by the user. Can not be null.public ReadContext(MessageType requestedSchema, Map<String,String> readSupportMetadata)
requestedSchema - the schema requested by the user. Can not be null.readSupportMetadata - metadata specific to the ReadSupport implementation. Will be available in the prepareForRead phase.public MessageType getRequestedSchema()
Copyright © 2019 The Apache Software Foundation. All rights reserved.