|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cloudera.crunch.type.writable.WritableType<T,W>
public class WritableType<T,W>
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Converter |
getConverter()
|
SourceTarget<T> |
getDefaultFileSource(org.apache.hadoop.fs.Path path)
Returns a SourceTarget that is able to read/write data using the
serialization format specified by this PType . |
PTypeFamily |
getFamily()
Returns the PTypeFamily that this PType belongs to. |
MapFn |
getInputMapFn()
|
MapFn |
getOutputMapFn()
|
Class<W> |
getSerializationClass()
|
List<PType> |
getSubTypes()
Returns the sub-types that make up this PType if it is a composite instance, such as a tuple. |
Class<T> |
getTypeClass()
Returns the Java type represented by this PType . |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public PTypeFamily getFamily()
PType
PTypeFamily
that this PType
belongs to.
getFamily
in interface PType<T>
public Class<T> getTypeClass()
PType
PType
.
getTypeClass
in interface PType<T>
public Converter getConverter()
getConverter
in interface PType<T>
public MapFn getInputMapFn()
getInputMapFn
in interface PType<T>
public MapFn getOutputMapFn()
getOutputMapFn
in interface PType<T>
public List<PType> getSubTypes()
PType
getSubTypes
in interface PType<T>
public Class<W> getSerializationClass()
public SourceTarget<T> getDefaultFileSource(org.apache.hadoop.fs.Path path)
PType
SourceTarget
that is able to read/write data using the
serialization format specified by this PType
.
getDefaultFileSource
in interface PType<T>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |