org.kitesdk.data.partition
Class HourFieldPartitioner

java.lang.Object
  extended by org.kitesdk.data.FieldPartitioner<Long,Integer>
      extended by org.kitesdk.data.partition.CalendarFieldPartitioner
          extended by org.kitesdk.data.partition.HourFieldPartitioner
All Implemented Interfaces:
com.google.common.base.Function<Long,Integer>, Comparator<Integer>

@Beta
public class HourFieldPartitioner
extends CalendarFieldPartitioner


Field Summary
 
Fields inherited from class org.kitesdk.data.partition.CalendarFieldPartitioner
calendarField, UTC
 
Constructor Summary
HourFieldPartitioner(String sourceName, String name)
           
 
Method Summary
 String valueToString(Integer value)
          Deprecated. 
 
Methods inherited from class org.kitesdk.data.partition.CalendarFieldPartitioner
apply, compare, equals, getCalendarField, hashCode, project, toString, valueFromString
 
Methods inherited from class org.kitesdk.data.FieldPartitioner
getCardinality, getName, getSourceName, getSourceType, getType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HourFieldPartitioner

public HourFieldPartitioner(String sourceName,
                            String name)
Method Detail

valueToString

@Deprecated
public String valueToString(Integer value)
Deprecated. 

Description copied from class: FieldPartitioner

Retrieve the value for the field formatted as a String. By default, this is the object's Object.toString() representation, but some FieldPartitioners may choose to provide a different representation.

Overrides:
valueToString in class FieldPartitioner<Long,Integer>


Copyright © 2013–2014. All rights reserved.