public class ParquetStringInspector extends JavaStringObjectInspector implements SettableStringObjectInspector
PrimitiveObjectInspector.PrimitiveCategory
ObjectInspector.Category
typeInfo
Modifier and Type | Method and Description |
---|---|
Object |
create(String string)
Create an object with the value.
|
Object |
create(org.apache.hadoop.io.Text text)
Create an object with the value.
|
String |
getPrimitiveJavaObject(Object o)
Get the Java Primitive object.
|
org.apache.hadoop.io.Text |
getPrimitiveWritableObject(Object o)
Get the Text representation of the data.
|
Object |
set(Object o,
String string)
Set the object with the value.
|
Object |
set(Object o,
org.apache.hadoop.io.Text text)
Set the object with the value.
|
copyObject, preferWritable
getCategory, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, getTypeName, precision, scale
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
copyObject, getJavaPrimitiveClass, getPrimitiveCategory, getPrimitiveWritableClass, getTypeInfo, precision, preferWritable, scale
getCategory, getTypeName
public org.apache.hadoop.io.Text getPrimitiveWritableObject(Object o)
StringObjectInspector
getPrimitiveWritableObject
in interface StringObjectInspector
getPrimitiveWritableObject
in interface PrimitiveObjectInspector
getPrimitiveWritableObject
in class JavaStringObjectInspector
public String getPrimitiveJavaObject(Object o)
PrimitiveObjectInspector
getPrimitiveJavaObject
in interface StringObjectInspector
getPrimitiveJavaObject
in interface PrimitiveObjectInspector
getPrimitiveJavaObject
in class JavaStringObjectInspector
public Object set(Object o, org.apache.hadoop.io.Text text)
SettableStringObjectInspector
set
in interface SettableStringObjectInspector
set
in class JavaStringObjectInspector
public Object set(Object o, String string)
SettableStringObjectInspector
set
in interface SettableStringObjectInspector
set
in class JavaStringObjectInspector
public Object create(org.apache.hadoop.io.Text text)
SettableStringObjectInspector
create
in interface SettableStringObjectInspector
create
in class JavaStringObjectInspector
public Object create(String string)
SettableStringObjectInspector
create
in interface SettableStringObjectInspector
create
in class JavaStringObjectInspector
Copyright © 2019 The Apache Software Foundation. All rights reserved.