|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.avro.hadoop.file.SortedKeyValueFile.Reader.Options
public static class SortedKeyValueFile.Reader.Options
A class to encapsulate the options of a Reader.
| Constructor Summary | |
|---|---|
SortedKeyValueFile.Reader.Options()
|
|
| Method Summary | |
|---|---|
org.apache.hadoop.conf.Configuration |
getConfiguration()
Gets the configuration. |
org.apache.avro.Schema |
getKeySchema()
Gets the reader schema for the key. |
org.apache.hadoop.fs.Path |
getPath()
Gets the input path. |
org.apache.avro.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 |
withKeySchema(org.apache.avro.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(org.apache.avro.Schema valueSchema)
Sets the reader schema for the value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SortedKeyValueFile.Reader.Options()
| Method Detail |
|---|
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(org.apache.avro.Schema keySchema)
keySchema - The reader schema for the key.
public org.apache.avro.Schema getKeySchema()
public SortedKeyValueFile.Reader.Options withValueSchema(org.apache.avro.Schema valueSchema)
valueSchema - The reader schema for the value.
public org.apache.avro.Schema getValueSchema()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||