@ShellComponent public class TempViewCommand extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
QUERY_FAIL |
static String |
QUERY_SUCCESS |
static String |
SHOW_SUCCESS |
| Constructor and Description |
|---|
TempViewCommand() |
| Modifier and Type | Method and Description |
|---|---|
String |
delete(String tableName) |
String |
query(String sql) |
String |
showAll() |
public static final String QUERY_SUCCESS
public static final String QUERY_FAIL
public static final String SHOW_SUCCESS
@ShellMethod(key={"temp_query","temp query"},
value="query against created temp view")
public String query(@ShellOption(value="--sql",help="select query to run against view")
String sql)
@ShellMethod(key={"temps_show","temps show"},
value="Show all views name")
public String showAll()
Copyright © 2025 The Apache Software Foundation. All rights reserved.