This project has retired. For details please refer to its Attic page.
PartitionQuery (Apache Gora 0.2 API)

org.apache.gora.query
Interface PartitionQuery<K,T extends Persistent>

All Superinterfaces:
org.apache.hadoop.conf.Configurable, Query<K,T>, org.apache.hadoop.io.Writable
All Known Implementing Classes:
FileSplitPartitionQuery, PartitionQueryImpl

public interface PartitionQuery<K,T extends Persistent>
extends Query<K,T>

PartitionQuery divides the results of the Query to multi partitions, so that queries can be run locally on the nodes that hold the data. PartitionQuery's are used for generating Hadoop InputSplits.


Method Summary
 String[] getLocations()
          Returns the locations on which this partial query will run locally.
 
Methods inherited from interface org.apache.gora.query.Query
execute, getDataStore, getEndKey, getEndTime, getFields, getKey, getLimit, getStartKey, getStartTime, getTimestamp, setDataStore, setEndKey, setEndTime, setFields, setKey, setKeyRange, setLimit, setStartKey, setStartTime, setTimeRange, setTimestamp
 
Methods inherited from interface org.apache.hadoop.io.Writable
readFields, write
 
Methods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
 

Method Detail

getLocations

String[] getLocations()
Returns the locations on which this partial query will run locally.

Returns:
the addresses of machines


Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.