org.apache.hadoop.hive.ql.io.orc
Class Reader.Options

java.lang.Object
  extended by org.apache.hadoop.hive.ql.io.orc.Reader.Options
Enclosing interface:
Reader

public static class Reader.Options
extends Object

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, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Reader.Options

public Reader.Options()
Method Detail

include

public Reader.Options include(boolean[] include)
Set the list of columns to read.

Parameters:
include - a list of columns to read
Returns:
this

range

public Reader.Options range(long offset,
                            long length)
Set the range of bytes to read

Parameters:
offset - the starting byte offset
length - the number of bytes to read
Returns:
this

searchArgument

public Reader.Options searchArgument(SearchArgument sarg,
                                     String[] columnNames)
Set search argument for predicate push down.

Parameters:
sarg - the search argument
columnNames - the column names for
Returns:

getInclude

public boolean[] getInclude()

getOffset

public long getOffset()

getLength

public long getLength()

getSearchArgument

public SearchArgument getSearchArgument()

getColumnNames

public String[] getColumnNames()

getMaxOffset

public long getMaxOffset()

clone

public Reader.Options clone()
Overrides:
clone in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014 The Apache Software Foundation. All rights reserved.