public static class SortedKeyValueFile.Reader.Options extends Object
Constructor and Description |
---|
SortedKeyValueFile.Reader.Options() |
Modifier and Type | Method and Description |
---|---|
Configuration |
getConfiguration()
Gets the configuration.
|
GenericData |
getDataModel()
Return the data model.
|
Schema |
getKeySchema()
Gets the reader schema for the key.
|
Path |
getPath()
Gets the input path.
|
Schema |
getValueSchema()
Gets the reader schema for the value.
|
SortedKeyValueFile.Reader.Options |
withConfiguration(Configuration conf)
Sets the configuration.
|
SortedKeyValueFile.Reader.Options |
withDataModel(GenericData model)
Set the data model.
|
SortedKeyValueFile.Reader.Options |
withKeySchema(Schema keySchema)
Sets the reader schema for the key.
|
SortedKeyValueFile.Reader.Options |
withPath(Path path)
Sets the input path.
|
SortedKeyValueFile.Reader.Options |
withValueSchema(Schema valueSchema)
Sets the reader schema for the value.
|
public SortedKeyValueFile.Reader.Options withConfiguration(Configuration conf)
conf
- The configuration.public Configuration getConfiguration()
public SortedKeyValueFile.Reader.Options withPath(Path path)
path
- The input path.public Path getPath()
public SortedKeyValueFile.Reader.Options withKeySchema(Schema keySchema)
keySchema
- The reader schema for the key.public Schema getKeySchema()
public SortedKeyValueFile.Reader.Options withValueSchema(Schema valueSchema)
valueSchema
- The reader schema for the value.public Schema getValueSchema()
public SortedKeyValueFile.Reader.Options withDataModel(GenericData model)
public GenericData getDataModel()
Copyright © 2009–2017 The Apache Software Foundation. All rights reserved.