This project has retired. For details please refer to its
Attic page.
GoraInputSplit (Apache Gora 0.2 API)
org.apache.gora.mapreduce
Class GoraInputSplit
java.lang.Object
org.apache.hadoop.mapreduce.InputSplit
org.apache.gora.mapreduce.GoraInputSplit
- All Implemented Interfaces:
- org.apache.hadoop.conf.Configurable, org.apache.hadoop.io.Writable
public class GoraInputSplit
- extends org.apache.hadoop.mapreduce.InputSplit
- implements org.apache.hadoop.io.Writable, org.apache.hadoop.conf.Configurable
InputSplit using PartitionQuery
s.
query
protected PartitionQuery<?,?> query
GoraInputSplit
public GoraInputSplit()
GoraInputSplit
public GoraInputSplit(org.apache.hadoop.conf.Configuration conf,
PartitionQuery<?,?> query)
getConf
public org.apache.hadoop.conf.Configuration getConf()
- Specified by:
getConf
in interface org.apache.hadoop.conf.Configurable
setConf
public void setConf(org.apache.hadoop.conf.Configuration conf)
- Specified by:
setConf
in interface org.apache.hadoop.conf.Configurable
getLength
public long getLength()
throws IOException,
InterruptedException
- Specified by:
getLength
in class org.apache.hadoop.mapreduce.InputSplit
- Throws:
IOException
InterruptedException
getLocations
public String[] getLocations()
- Specified by:
getLocations
in class org.apache.hadoop.mapreduce.InputSplit
getQuery
public PartitionQuery<?,?> getQuery()
readFields
public void readFields(DataInput in)
throws IOException
- Specified by:
readFields
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
write
public void write(DataOutput out)
throws IOException
- Specified by:
write
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.