Package com.anylogic.engine.database
- java.lang.Object
-
- com.anylogic.engine.database.TableInput
- All Implemented Interfaces:
java.io.Serializable
,java.lang.AutoCloseable
@AnyLogicInternalAPI public class TableInput extends java.lang.Object implements java.io.Serializable, java.lang.AutoCloseable
This class is internal and shouldn't be called by user.
it may be removed/renamed in future.
it may be removed/renamed in future.
- See Also:
- Serialized Form
TableInput(Utilities owner,
java.lang.String sql,
java.lang.Object... params) |
|
TableInput(Utilities owner,
java.util.function.Supplier<ResultSet> selectResultSet) |
|
Constructor | Description |
---|
boolean |
absolute(int row) |
|
void |
close() |
Closes the underlying result set and drops any cached data
|
boolean |
first() |
|
<T> T |
getValue(int rowIndex,
java.lang.String columnLabel,
java.lang.Class<T> returnType) |
|
<T> T |
getValue(java.lang.String columnLabel,
java.lang.Class<T> returnType) |
|
void |
loadAll() |
|
boolean |
next() |
Advances this input to the next table row
|
int |
size() |
|
Modifier and Type | Method | Description |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public TableInput(Utilities owner, java.lang.String sql, java.lang.Object... params)
@AnyLogicInternalAPI public TableInput(Utilities owner, java.util.function.Supplier<ResultSet> selectResultSet)
public <T> T getValue(java.lang.String columnLabel, java.lang.Class<T> returnType)
public int size()
public <T> T getValue(int rowIndex, java.lang.String columnLabel, java.lang.Class<T> returnType)
public boolean next()
Advances this input to the next table row
- Returns:
true
if the new current row is valid;false
if there are no more rows
public boolean absolute(int row)
public boolean first()
public void close()
Closes the underlying result set and drops any cached data
- Specified by:
close
in interfacejava.lang.AutoCloseable
public void loadAll()
-
How can we improve this article?
-