com.ebay.erl.mobius.core.datajoin
Class DataJoinValue

java.lang.Object
  extended by com.ebay.erl.mobius.core.model.Tuple
      extended by com.ebay.erl.mobius.core.datajoin.DataJoinValue
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable<Tuple>, java.util.Comparator<Tuple>, org.apache.hadoop.conf.Configurable, org.apache.hadoop.io.RawComparator<Tuple>, org.apache.hadoop.io.Writable, org.apache.hadoop.io.WritableComparable<Tuple>

public class DataJoinValue
extends Tuple

This product is licensed under the Apache License, Version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0. This product contains portions derived from Apache hadoop which is licensed under the Apache License, Version 2.0, available at http://hadoop.apache.org. © 2007 – 2012 eBay Inc., Evan Chiu, Woody Zhou, Neel Sundaresan


Nested Class Summary
 
Nested classes/interfaces inherited from class com.ebay.erl.mobius.core.model.Tuple
Tuple.TupleColumnName
 
Field Summary
static java.lang.String DATASET_ID_FIELDNAME
           
static java.lang.String VALUE_FIELDNAME
           
 
Fields inherited from class com.ebay.erl.mobius.core.model.Tuple
_INSERT_KEY, BOOLEAN_TYPE, BYTE_ARRAY_TYPE, BYTE_TYPE, conf, DATE_TYPE, DOUBLE_TYPE, estimate_size_in_bytes, FLOAT_TYPE, INTEGER_TYPE, isMutable, LONG_TYPE, lowerCases, namesToIdxMapping, NULL, NULL_TYPE, NULL_WRITABLE_TYPE, RESULT_WRAPPER_TYPE, SERIALIZABLE_TYPE, SHORT_TYPE, sortedKeys, STRING_MAP_TYPE, STRING_TYPE, TIME_TYPE, TIMESTAMP_TYPE, toStringOrdering, TUPLE_TYPE, values, WRITABLE_TYPE
 
Constructor Summary
DataJoinValue()
           
DataJoinValue(java.lang.String datasetID, org.apache.hadoop.io.WritableComparable value)
           
DataJoinValue(org.apache.hadoop.io.Text datasetID, org.apache.hadoop.io.WritableComparable value)
           
 
Method Summary
 java.lang.String getDatasetID()
           
 org.apache.hadoop.io.WritableComparable getValue()
           
 void readFields(java.io.DataInput in)
          Deserialize the tuple from the input in.
 void set(java.lang.String datasetID, org.apache.hadoop.io.WritableComparable value)
           
 
Methods inherited from class com.ebay.erl.mobius.core.model.Tuple
check_in_schema, clone, compare, compare, compareTo, equals, get, get, get, get, getBoolean, getBoolean, getByte, getByte, getConf, getDate, getDate, getDouble, getDouble, getDouble, getEstimatedSizeInMemory, getFloat, getFloat, getInt, getInt, getLong, getLong, getMap, getSchema, getShort, getShort, getSorted, getString, getString, getTime, getTime, getTimestamp, getTimestamp, getType, getTypeString, hashCode, hasSchema, immutable, insert, isDateType, isNumericalType, lowerCase, main, merge, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, putNull, setConf, setSchema, setToStringOrdering, toString, valueOf, write
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DATASET_ID_FIELDNAME

public static java.lang.String DATASET_ID_FIELDNAME

VALUE_FIELDNAME

public static java.lang.String VALUE_FIELDNAME
Constructor Detail

DataJoinValue

public DataJoinValue()

DataJoinValue

public DataJoinValue(java.lang.String datasetID,
                     org.apache.hadoop.io.WritableComparable value)

DataJoinValue

public DataJoinValue(org.apache.hadoop.io.Text datasetID,
                     org.apache.hadoop.io.WritableComparable value)
Method Detail

set

public void set(java.lang.String datasetID,
                org.apache.hadoop.io.WritableComparable value)

getDatasetID

public java.lang.String getDatasetID()

getValue

public org.apache.hadoop.io.WritableComparable getValue()

readFields

public void readFields(java.io.DataInput in)
                throws java.io.IOException
Description copied from class: Tuple
Deserialize the tuple from the input in.

Specified by:
readFields in interface org.apache.hadoop.io.Writable
Overrides:
readFields in class Tuple
Throws:
java.io.IOException