Class ObjectInspectorHelper

java.lang.Object
org.apache.drill.exec.expr.fn.impl.hive.ObjectInspectorHelper

public class ObjectInspectorHelper extends Object
  • Constructor Details

    • ObjectInspectorHelper

      public ObjectInspectorHelper()
  • Method Details

    • getDrillObjectInspector

      public static org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector getDrillObjectInspector(TypeProtos.DataMode mode, TypeProtos.MinorType minorType, boolean varCharToStringReplacement)
    • initReturnValueHolder

      public static com.sun.codemodel.JBlock initReturnValueHolder(ClassGenerator<?> g, com.sun.codemodel.JCodeModel m, com.sun.codemodel.JVar returnValueHolder, org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector oi, TypeProtos.MinorType returnType)
    • getDrillType

      public static TypeProtos.MinorType getDrillType(org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector oi)
    • getDrillObject

      public static com.sun.codemodel.JBlock getDrillObject(com.sun.codemodel.JCodeModel m, org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector oi, com.sun.codemodel.JVar returnOI, com.sun.codemodel.JVar returnValueHolder, com.sun.codemodel.JVar returnValue)