|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveObjectInspector
org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveWritableObjectInspector
org.apache.hadoop.hive.serde2.objectinspector.primitive.WritableBinaryObjectInspector
public class WritableBinaryObjectInspector
A WritableBinaryObjectInspector inspects a BytesWritable Object.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector |
---|
PrimitiveObjectInspector.PrimitiveCategory |
Nested classes/interfaces inherited from interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector |
---|
ObjectInspector.Category |
Field Summary |
---|
Fields inherited from class org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveObjectInspector |
---|
typeParams |
Method Summary | |
---|---|
BytesWritable |
copyObject(Object o)
Get a copy of the Object in the same class, so the return value can be stored independently of the parameter. |
BytesWritable |
create(byte[] bb)
Create an object with the value. |
BytesWritable |
create(BytesWritable bw)
Create an object with the value. |
byte[] |
getPrimitiveJavaObject(Object o)
Get the Java Primitive object. |
BytesWritable |
getPrimitiveWritableObject(Object o)
Return the data in an instance of primitive writable Object. |
BytesWritable |
set(Object o,
byte[] bb)
Set the object with the value. |
BytesWritable |
set(Object o,
BytesWritable bw)
Set the object with the value. |
Methods inherited from class org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveWritableObjectInspector |
---|
preferWritable |
Methods inherited from class org.apache.hadoop.hive.serde2.objectinspector.primitive.AbstractPrimitiveObjectInspector |
---|
getCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeName, getTypeParams, setTypeParams |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector |
---|
getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeParams, preferWritable, setTypeParams |
Methods inherited from interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector |
---|
getCategory, getTypeName |
Method Detail |
---|
public BytesWritable copyObject(Object o)
PrimitiveObjectInspector
copyObject
in interface PrimitiveObjectInspector
public byte[] getPrimitiveJavaObject(Object o)
PrimitiveObjectInspector
getPrimitiveJavaObject
in interface BinaryObjectInspector
getPrimitiveJavaObject
in interface PrimitiveObjectInspector
public BytesWritable getPrimitiveWritableObject(Object o)
PrimitiveObjectInspector
getPrimitiveWritableObject
in interface BinaryObjectInspector
getPrimitiveWritableObject
in interface PrimitiveObjectInspector
getPrimitiveWritableObject
in class AbstractPrimitiveWritableObjectInspector
public BytesWritable set(Object o, byte[] bb)
SettableBinaryObjectInspector
set
in interface SettableBinaryObjectInspector
public BytesWritable set(Object o, BytesWritable bw)
SettableBinaryObjectInspector
set
in interface SettableBinaryObjectInspector
public BytesWritable create(byte[] bb)
SettableBinaryObjectInspector
create
in interface SettableBinaryObjectInspector
public BytesWritable create(BytesWritable bw)
SettableBinaryObjectInspector
create
in interface SettableBinaryObjectInspector
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |