@Component @UserDocumentation(title="Commands for Native Table Management", description="Read operations on native tables") public class LensNativeTableCommands extends LensCRUDCommand<XNativeTable>
DATE_FMT, DATE_PARSER| Constructor and Description |
|---|
LensNativeTableCommands() |
| Modifier and Type | Method and Description |
|---|---|
String |
describeNativeTable(String name)
Describe native table.
|
APIResult |
doUpdate(String name,
String path) |
List<String> |
getAll() |
String |
showNativeTables()
Show native tables.
|
create, describe, drop, getSingleObjectName, showAll, updateafterReturningInvocation, afterThrowingInvocation, beforeInvocation, formatDate, formatJson, getClient, getClientWrapper, getOrDefaultQueryHandleString, getValidPath, removePrefixBeforeURI, setClient@CliCommand(value="show nativetables",
help="show list of native tables belonging to current database")
public String showNativeTables()
@CliCommand(value="describe nativetable",
help="describe nativetable named <native-table-name>")
public String describeNativeTable(@CliOption(key={"","name"},mandatory=true,help="<native-table-name>")
String name)
name - the tbl namepublic List<String> getAll()
getAll in class LensCRUDCommand<XNativeTable>public APIResult doUpdate(String name, String path)
doUpdate in class LensCRUDCommand<XNativeTable>Copyright © 2014–2018 Apache Software Foundation. All rights reserved.