public static class SortedKeyValueFile.Reader.Options extends Object
Constructor and Description |
---|
Options() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.conf.Configuration |
getConfiguration()
Gets the configuration.
|
GenericData |
getDataModel()
Return the data model.
|
Schema |
getKeySchema()
Gets the reader schema for the key.
|
org.apache.hadoop.fs.Path |
getPath()
Gets the input path.
|
Schema |
getValueSchema()
Gets the reader schema for the value.
|
SortedKeyValueFile.Reader.Options |
withConfiguration(org.apache.hadoop.conf.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(org.apache.hadoop.fs.Path path)
Sets the input path.
|
SortedKeyValueFile.Reader.Options |
withValueSchema(Schema valueSchema)
Sets the reader schema for the value.
|
public SortedKeyValueFile.Reader.Options withConfiguration(org.apache.hadoop.conf.Configuration conf)
conf
- The configuration.public org.apache.hadoop.conf.Configuration getConfiguration()
public SortedKeyValueFile.Reader.Options withPath(org.apache.hadoop.fs.Path path)
path
- The input path.public org.apache.hadoop.fs.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–2021 The Apache Software Foundation. All rights reserved.