|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hive.ql.io.orc.Reader.Options
public static class Reader.Options
Options for creating a RecordReader.
| Constructor Summary | |
|---|---|
Reader.Options()
|
|
| Method Summary | |
|---|---|
Reader.Options |
clone()
|
String[] |
getColumnNames()
|
boolean[] |
getInclude()
|
long |
getLength()
|
long |
getMaxOffset()
|
long |
getOffset()
|
SearchArgument |
getSearchArgument()
|
Reader.Options |
include(boolean[] include)
Set the list of columns to read. |
Reader.Options |
range(long offset,
long length)
Set the range of bytes to read |
Reader.Options |
searchArgument(SearchArgument sarg,
String[] columnNames)
Set search argument for predicate push down. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Reader.Options()
| Method Detail |
|---|
public Reader.Options include(boolean[] include)
include - a list of columns to read
public Reader.Options range(long offset,
long length)
offset - the starting byte offsetlength - the number of bytes to read
public Reader.Options searchArgument(SearchArgument sarg,
String[] columnNames)
sarg - the search argumentcolumnNames - the column names for
public boolean[] getInclude()
public long getOffset()
public long getLength()
public SearchArgument getSearchArgument()
public String[] getColumnNames()
public long getMaxOffset()
public Reader.Options clone()
clone in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||