public static final class ReadSupport.ReadContext extends Object
| Constructor and Description |
|---|
ReadSupport.ReadContext(MessageType requestedSchema) |
ReadSupport.ReadContext(MessageType requestedSchema,
Map<String,String> readSupportMetadata) |
public ReadSupport.ReadContext(MessageType requestedSchema)
requestedSchema - the schema requested by the user. Can not be null.public ReadSupport.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 © 2018 The Apache Software Foundation. All rights reserved.