public abstract class LogicalTableCrudCommand<T> extends LensCRUDCommand<T>
DATE_FMT, DATE_PARSER, isConnectionActive, mapper, pp| Constructor and Description |
|---|
LogicalTableCrudCommand() |
| Modifier and Type | Method and Description |
|---|---|
String |
addPartition(String tableName,
String storageName,
File path) |
String |
addPartitions(String tableName,
String storageName,
String path) |
String |
addStorage(String tableName,
File path) |
protected abstract org.apache.lens.api.APIResult |
doAddPartition(String tableName,
String storageName,
String path) |
protected abstract org.apache.lens.api.APIResult |
doAddPartitions(String tableName,
String storageName,
String path) |
abstract org.apache.lens.api.APIResult |
doAddStorage(String name,
String path) |
abstract org.apache.lens.api.APIResult |
doDropAllStorages(String name) |
protected abstract org.apache.lens.api.APIResult |
doDropPartitions(String tableName,
String storageName,
String filter) |
abstract org.apache.lens.api.APIResult |
doDropStorage(String tableName,
String storageName) |
protected abstract org.apache.lens.api.APIResult |
doUpdatePartition(String tableName,
String storageName,
String validPath) |
protected abstract org.apache.lens.api.APIResult |
doUpdatePartitions(String tableName,
String storageName,
String validPath) |
String |
dropAllStorages(String tableName) |
String |
dropPartitions(String tableName,
String storageName,
String filter) |
String |
dropStorage(String tableName,
String storageName) |
protected abstract List<String> |
getAll(String filter) |
String |
getAllPartitions(String tableName,
String storageName,
String filter) |
abstract List<String> |
getAllStorages(String name) |
String |
getStorage(String tableName,
String storage) |
protected abstract List<org.apache.lens.api.metastore.XPartition> |
readAllPartitions(String tableName,
String storageName,
String filter) |
protected abstract org.apache.lens.api.metastore.XStorageTableElement |
readStorage(String tableName,
String storage) |
String |
showAll(String filter) |
String |
showAllStorages(String tableName) |
String |
updatePartition(String tableName,
String storageName,
File path) |
String |
updatePartitions(String tableName,
String storageName,
String path) |
create, describe, doCreate, doDelete, doRead, doUpdate, drop, getAll, getSingleObjectName, showAll, updateafterReturningInvocation, afterThrowingInvocation, beforeInvocation, closeClientConnection, formatDate, formatJson, getClient, getClientWrapper, getOrDefaultQueryHandleString, getValidPath, removePrefixBeforeURI, setClientpublic String getAllPartitions(String tableName, String storageName, String filter)
protected abstract org.apache.lens.api.metastore.XStorageTableElement readStorage(String tableName, String storage)
public abstract org.apache.lens.api.APIResult doDropStorage(String tableName, String storageName)
public abstract org.apache.lens.api.APIResult doDropAllStorages(String name)
protected abstract List<org.apache.lens.api.metastore.XPartition> readAllPartitions(String tableName, String storageName, String filter)
protected abstract org.apache.lens.api.APIResult doAddPartition(String tableName, String storageName, String path)
protected abstract org.apache.lens.api.APIResult doAddPartitions(String tableName, String storageName, String path)
protected abstract org.apache.lens.api.APIResult doDropPartitions(String tableName, String storageName, String filter)
protected abstract org.apache.lens.api.APIResult doUpdatePartition(String tableName, String storageName, String validPath)
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.