public class Cursor extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Cursor.State |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
QueryResult |
getQueryResult() |
String |
getSql() |
org.antlr.v4.runtime.ParserRuleContext |
getSqlExpr() |
org.antlr.v4.runtime.ParserRuleContext |
getSqlSelect() |
Boolean |
isFound() |
Boolean |
isNotFound() |
boolean |
isOpen() |
boolean |
isWithReturn() |
void |
open(QueryExecutor queryExecutor,
HplsqlParser.Open_stmtContext ctx) |
void |
setExprCtx(org.antlr.v4.runtime.ParserRuleContext sqlExpr) |
void |
setFetch(boolean ok)
Set the fetch status
|
void |
setSelectCtx(org.antlr.v4.runtime.ParserRuleContext sqlSelect) |
void |
setSql(String sql) |
void |
setWithReturn(boolean withReturn) |
public Cursor(String sql)
public void setExprCtx(org.antlr.v4.runtime.ParserRuleContext sqlExpr)
public void setSelectCtx(org.antlr.v4.runtime.ParserRuleContext sqlSelect)
public void setWithReturn(boolean withReturn)
public org.antlr.v4.runtime.ParserRuleContext getSqlExpr()
public org.antlr.v4.runtime.ParserRuleContext getSqlSelect()
public boolean isWithReturn()
public void setSql(String sql)
public String getSql()
public void open(QueryExecutor queryExecutor, HplsqlParser.Open_stmtContext ctx)
public QueryResult getQueryResult()
public void setFetch(boolean ok)
public Boolean isFound()
public Boolean isNotFound()
public void close()
public boolean isOpen()
Copyright © 2022 The Apache Software Foundation. All rights reserved.