public class SQLResult extends Object implements Cloneable, Serializable
SQLResult
class returns a list of
result values returned from an SQL query.Modifier and Type | Method and Description |
---|---|
Object |
clone()
Clone implementation that returns an Object with data cloned from self
|
boolean |
equals(Object obj) |
List<List<Value>> |
getContents()
Returns list of zero or more (accessible) rows that
match the criteria defined by the
sqlCommand value
Each item in the list represents one matching row, each
of which contains a list of the selected column values. |
String |
getReturnCommand() |
int |
getTotalNumberOfMatches()
Returns the total number of (accessible) rows that match the SQL
selection criteria.
|
int |
hashCode() |
String |
toString() |
public int getTotalNumberOfMatches()
maxRetrieve
value
Specify NULL
for
this parameter if you do not want to retrieve this count.
Note: Performing this count requires additional search time
if the number of matching rows
is more than the maxRetrieve
value
In this case,
the cost of completing the search
diminishes the performance benefits of retrieving fewer rows.
public List<List<Value>> getContents()
sqlCommand
value
Each item in the list represents one matching row, each
of which contains a list of the selected column values.
The system returns a list
with zero items if no rows match the specified criteria.public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public String getReturnCommand()
? Copyright 2013 BMC Software, Inc.