|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.avro.hadoop.file.SortedKeyValueFile.Writer.Options
public static class SortedKeyValueFile.Writer.Options
A class to encapsulate the various options of a SortedKeyValueFile.Writer.
| Constructor Summary | |
|---|---|
SortedKeyValueFile.Writer.Options()
|
|
| Method Summary | |
|---|---|
org.apache.hadoop.conf.Configuration |
getConfiguration()
Gets the configuration. |
int |
getIndexInterval()
Gets the index interval. |
org.apache.avro.Schema |
getKeySchema()
Gets the key schema. |
org.apache.hadoop.fs.Path |
getPath()
Gets the output path. |
org.apache.avro.Schema |
getValueSchema()
Gets the value schema. |
SortedKeyValueFile.Writer.Options |
withConfiguration(org.apache.hadoop.conf.Configuration conf)
Sets the configuration. |
SortedKeyValueFile.Writer.Options |
withIndexInterval(int indexInterval)
Sets the index interval. |
SortedKeyValueFile.Writer.Options |
withKeySchema(org.apache.avro.Schema keySchema)
Sets the key schema. |
SortedKeyValueFile.Writer.Options |
withPath(org.apache.hadoop.fs.Path path)
Sets the output path. |
SortedKeyValueFile.Writer.Options |
withValueSchema(org.apache.avro.Schema valueSchema)
Sets the value schema. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SortedKeyValueFile.Writer.Options()
| Method Detail |
|---|
public SortedKeyValueFile.Writer.Options withKeySchema(org.apache.avro.Schema keySchema)
keySchema - The key schema.
public org.apache.avro.Schema getKeySchema()
public SortedKeyValueFile.Writer.Options withValueSchema(org.apache.avro.Schema valueSchema)
valueSchema - The value schema.
public org.apache.avro.Schema getValueSchema()
public SortedKeyValueFile.Writer.Options withConfiguration(org.apache.hadoop.conf.Configuration conf)
conf - The configuration.
public org.apache.hadoop.conf.Configuration getConfiguration()
public SortedKeyValueFile.Writer.Options withPath(org.apache.hadoop.fs.Path path)
path - The output path.
public org.apache.hadoop.fs.Path getPath()
public SortedKeyValueFile.Writer.Options withIndexInterval(int indexInterval)
If the index inverval is N, then every N records will be indexed into the index file.
indexInterval - The index interval.
public int getIndexInterval()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||