public static class HCatCreateTableDesc.Builder extends Object
public HCatCreateTableDesc.Builder ifNotExists(boolean ifNotExists)
ifNotExists
- If set to true, hive will not throw exception, if a
table with the same name already exists.@Deprecated public HCatCreateTableDesc.Builder partCols(List<HCatFieldSchema> partCols)
partCols
- the partition cols@Deprecated public HCatCreateTableDesc.Builder bucketCols(List<String> bucketCols, int buckets)
bucketCols
- the bucket cols@Deprecated public HCatCreateTableDesc.Builder storageHandler(String storageHandler) throws HCatException
storageHandler
- the storage handlerHCatException
@Deprecated public HCatCreateTableDesc.Builder location(String location)
location
- the location@Deprecated public HCatCreateTableDesc.Builder comments(String comment)
comment
- the comment@Deprecated public HCatCreateTableDesc.Builder isTableExternal(boolean isExternal)
isExternal
- the is external@Deprecated public HCatCreateTableDesc.Builder sortCols(ArrayList<Order> sortCols)
sortCols
- the sort cols@Deprecated public HCatCreateTableDesc.Builder tblProps(Map<String,String> tblProps)
tblProps
- the tbl props@Deprecated public HCatCreateTableDesc.Builder fileFormat(String format)
format
- the format@Deprecated public HCatCreateTableDesc.Builder fieldsTerminatedBy(char delimiter)
@Deprecated public HCatCreateTableDesc.Builder escapeChar(char escapeChar)
@Deprecated public HCatCreateTableDesc.Builder collectionItemsTerminatedBy(char delimiter)
@Deprecated public HCatCreateTableDesc.Builder mapKeysTerminatedBy(char delimiter)
@Deprecated public HCatCreateTableDesc.Builder linesTerminatedBy(char delimiter)
@Deprecated public HCatCreateTableDesc.Builder nullDefinedAs(char nullChar)
@Deprecated public HCatCreateTableDesc.Builder serdeParam(String paramName, String value)
public HCatCreateTableDesc build() throws HCatException
HCatException
Copyright © 2017 The Apache Software Foundation. All rights reserved.