org.apache.lens.driver.jdbc
Class JDBCResultSet.FieldSchemaData

java.lang.Object
  extended by org.apache.lens.driver.jdbc.JDBCResultSet.FieldSchemaData
Enclosing class:
JDBCResultSet

public static class JDBCResultSet.FieldSchemaData
extends Object

FieldSchemaData is created so that we don't save FieldSchema as some classes used by it don't have default constructors which are required by jackson


Constructor Summary
JDBCResultSet.FieldSchemaData(String name, String type, String comment)
           
 
Method Summary
 org.apache.hadoop.hive.metastore.api.FieldSchema toFieldSchema()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCResultSet.FieldSchemaData

public JDBCResultSet.FieldSchemaData(String name,
                                     String type,
                                     String comment)
Method Detail

toFieldSchema

public org.apache.hadoop.hive.metastore.api.FieldSchema toFieldSchema()


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.