org.apache.hive.service.cli
Class TableSchema
java.lang.Object
org.apache.hive.service.cli.TableSchema
public class TableSchema
- extends Object
TableSchema.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableSchema
public TableSchema()
TableSchema
public TableSchema(int numColumns)
TableSchema
public TableSchema(TTableSchema tTableSchema)
TableSchema
public TableSchema(List<FieldSchema> fieldSchemas)
TableSchema
public TableSchema(Schema schema)
getColumnDescriptors
public List<ColumnDescriptor> getColumnDescriptors()
getColumnDescriptorAt
public ColumnDescriptor getColumnDescriptorAt(int pos)
getSize
public int getSize()
clear
public void clear()
toTTableSchema
public TTableSchema toTTableSchema()
addPrimitiveColumn
public TableSchema addPrimitiveColumn(String columnName,
Type columnType,
String columnComment)
addStringColumn
public TableSchema addStringColumn(String columnName,
String columnComment)
Copyright © 2013 The Apache Software Foundation