public class LazyStringObjectInspector extends AbstractPrimitiveLazyObjectInspector<org.apache.hadoop.io.Text> implements StringObjectInspector
PrimitiveObjectInspector.PrimitiveCategory
ObjectInspector.Category
typeInfo
Modifier | Constructor and Description |
---|---|
protected |
LazyStringObjectInspector() |
Modifier and Type | Method and Description |
---|---|
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.
|
byte |
getEscapeChar() |
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.
|
boolean |
isEscaped() |
preferWritable
getCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, getTypeName, precision, scale
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, precision, preferWritable, scale
getCategory, getTypeName
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 AbstractPrimitiveLazyObjectInspector<org.apache.hadoop.io.Text>
public String getPrimitiveJavaObject(Object o)
StringObjectInspector
getPrimitiveJavaObject
in interface StringObjectInspector
getPrimitiveJavaObject
in interface PrimitiveObjectInspector
public boolean isEscaped()
public byte getEscapeChar()
Copyright © 2017 The Apache Software Foundation. All rights reserved.