|
||||||||||
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.WritableStringObjectInspector
public class WritableStringObjectInspector
A WritableStringObjectInspector inspects a Text 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 |
Method Summary | |
---|---|
Object |
copyObject(Object o)
Get a copy of the Object in the same class, so the return value can be stored independently of the parameter. |
Object |
create(String value)
Create an object with the value. |
Object |
create(org.apache.hadoop.io.Text value)
Create an object with the value. |
String |
getPrimitiveJavaObject(Object o)
Get the String representation of the data. |
org.apache.hadoop.io.Text |
getPrimitiveWritableObject(Object o)
Return the data in an instance of primitive writable Object. |
void |
set(Object o,
String value)
Set the object with the value. |
void |
set(Object o,
org.apache.hadoop.io.Text value)
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 |
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, preferWritable |
Methods inherited from interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector |
---|
getCategory, getTypeName |
Method Detail |
---|
public Object copyObject(Object o)
PrimitiveObjectInspector
copyObject
in interface PrimitiveObjectInspector
public org.apache.hadoop.io.Text getPrimitiveWritableObject(Object o)
PrimitiveObjectInspector
getPrimitiveWritableObject
in interface StringObjectInspector
getPrimitiveWritableObject
in interface PrimitiveObjectInspector
getPrimitiveWritableObject
in class AbstractPrimitiveWritableObjectInspector
public String getPrimitiveJavaObject(Object o)
StringObjectInspector
getPrimitiveJavaObject
in interface StringObjectInspector
getPrimitiveJavaObject
in interface PrimitiveObjectInspector
public Object create(org.apache.hadoop.io.Text value)
SettableStringObjectInspector
create
in interface SettableStringObjectInspector
public Object create(String value)
SettableStringObjectInspector
create
in interface SettableStringObjectInspector
public void set(Object o, org.apache.hadoop.io.Text value)
SettableStringObjectInspector
set
in interface SettableStringObjectInspector
public void set(Object o, String value)
SettableStringObjectInspector
set
in interface SettableStringObjectInspector
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |