public class CommandApi extends Object
Constructor and Description |
---|
CommandApi(Odps odps) |
Modifier and Type | Method and Description |
---|---|
List<Record> |
getResult() |
List<Record> |
getResult(Long countLimit) |
List<Record> |
getResult(Long offset,
Long countLimit) |
ResultSet |
getResultSet() |
ResultSet |
getResultSet(Long countLimit) |
ResultSet |
getResultSet(Long offset,
Long countLimit) |
boolean |
hasResultSet() |
void |
init() |
boolean |
isOdpsCommand(String commandText) |
boolean |
isParseSuccess() |
void |
run(String commandText) |
void |
run(String commandText,
boolean odpsNamespaceSchema) |
void |
run(String commandText,
Map<String,String> settings,
boolean odpsNamespaceSchema) |
public CommandApi(Odps odps)
public void init()
public void run(String commandText) throws OdpsException
OdpsException
public void run(String commandText, boolean odpsNamespaceSchema) throws OdpsException
OdpsException
public void run(String commandText, Map<String,String> settings, boolean odpsNamespaceSchema) throws OdpsException
OdpsException
public boolean isParseSuccess()
public boolean isOdpsCommand(String commandText)
public boolean hasResultSet()
public ResultSet getResultSet() throws OdpsException
OdpsException
public ResultSet getResultSet(Long countLimit) throws OdpsException
OdpsException
public ResultSet getResultSet(Long offset, Long countLimit) throws OdpsException
OdpsException
public List<Record> getResult() throws OdpsException
OdpsException
public List<Record> getResult(Long countLimit) throws OdpsException
OdpsException
public List<Record> getResult(Long offset, Long countLimit) throws OdpsException
OdpsException
Copyright © 2025 Alibaba Cloud Computing. All rights reserved.