public class CreateTable extends Expr
Modifier and Type | Class and Description |
---|---|
static class |
CreateTable.ColumnPartition |
static class |
CreateTable.HashPartition |
static class |
CreateTable.ListPartition |
static class |
CreateTable.ListPartitionSpecifier |
static class |
CreateTable.PartitionMethodDescExpr |
static class |
CreateTable.PartitionSpecifier |
static class |
CreateTable.PartitionType |
static class |
CreateTable.RangePartition |
static class |
CreateTable.RangePartitionSpecifier |
Constructor and Description |
---|
CreateTable(String tableName,
boolean ifNotExists) |
CreateTable(String tableName,
Expr subQuery,
boolean ifNotExists) |
Modifier and Type | Method and Description |
---|---|
String |
getLocation() |
Map<String,String> |
getParams() |
<T extends CreateTable.PartitionMethodDescExpr> |
getPartitionMethod() |
String |
getStorageType() |
Expr |
getSubQuery() |
ColumnDefinition[] |
getTableElements() |
String |
getTableName() |
int |
hashCode() |
boolean |
hasLocation() |
boolean |
hasParams() |
boolean |
hasPartition() |
boolean |
hasStorageType() |
boolean |
hasSubQuery() |
boolean |
hasTableElements() |
boolean |
isExternal() |
boolean |
isIfNotExists() |
void |
setExternal() |
void |
setLocation(String location) |
void |
setParams(Map<String,String> params) |
void |
setPartitionMethod(CreateTable.PartitionMethodDescExpr partition) |
void |
setStorageType(String storageType) |
void |
setSubQuery(Expr subquery) |
void |
setTableElements(ColumnDefinition[] tableElements) |
public CreateTable(String tableName, boolean ifNotExists)
public void setExternal()
public boolean isExternal()
public String getTableName()
public boolean hasLocation()
public String getLocation()
public void setLocation(String location)
public boolean hasTableElements()
public ColumnDefinition[] getTableElements()
public void setTableElements(ColumnDefinition[] tableElements)
public boolean hasStorageType()
public void setStorageType(String storageType)
public String getStorageType()
public boolean hasParams()
public boolean hasPartition()
public void setPartitionMethod(CreateTable.PartitionMethodDescExpr partition)
public <T extends CreateTable.PartitionMethodDescExpr> T getPartitionMethod()
public boolean hasSubQuery()
public void setSubQuery(Expr subquery)
public Expr getSubQuery()
public boolean isIfNotExists()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.