org.kitesdk.data
Class PartitionKey

java.lang.Object
  extended by org.kitesdk.data.spi.PartitionKey
      extended by org.kitesdk.data.PartitionKey

Deprecated. will be removed in 0.16.0; use RefinableView methods instead

@NotThreadSafe
@Deprecated
public class PartitionKey
extends org.kitesdk.data.spi.PartitionKey

A key for retrieving partitions from a Dataset.

A PartitionKey is an ordered sequence of values corresponding to the FieldPartitioners in a PartitionStrategy. You can obtain a PartitionKey using PartitionStrategy.partitionKey(Object...) or PartitionStrategy.partitionKeyForEntity(Object).

Implementations of PartitionKey are typically not thread-safe; that is, the behavior when accessing a single instance from multiple threads is undefined.

See Also:
PartitionStrategy, FieldPartitioner, Dataset

Method Summary
protected  void set(int index, Object value)
          Deprecated.  
 
Methods inherited from class org.kitesdk.data.spi.PartitionKey
equals, get, getLength, getValues, hashCode, partitionKeyForEntity, partitionKeyForEntity, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

set

protected void set(int index,
                   Object value)
Deprecated. 
Overrides:
set in class org.kitesdk.data.spi.PartitionKey


Copyright © 2013–2014. All rights reserved.