GigaSpaces XAP 7.1 API

com.j_spaces.jdbc
Class ResultEntry

java.lang.Object
  extended by com.j_spaces.jdbc.ResultEntry
All Implemented Interfaces:
Serializable

public class ResultEntry
extends Object
implements Serializable

This is the result from which a ResultSet will be constructed in response to a SELECT query. This class can be used when calling procedure classes to construct the IProcedure execute method return value.

Author:
Michael Mitrani, 2004
See Also:
Serialized Form

Constructor Summary
ResultEntry()
           
 
Method Summary
 String[] getFieldNames()
          The ResultEntry Field Names
 Object[][] getFieldValues()
          Get the ResultEntry Field Values
 Object[] getFieldValues(int row)
          The ResultEntry Field Values
 int getRowNumber()
          Get the number of rows in the result set
 void setFieldNames(String[] fieldNames)
          Set the ResultEntry Field Names
 void setFieldValues(Object[][] fieldValues)
          Set the ResultEntry Field Values
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResultEntry

public ResultEntry()
Method Detail

getFieldNames

public String[] getFieldNames()
The ResultEntry Field Names

Returns:
Returns ResultEntry Field Names

setFieldNames

public void setFieldNames(String[] fieldNames)
Set the ResultEntry Field Names

Parameters:
fieldNames - ResultEntry field Names

getFieldValues

public Object[] getFieldValues(int row)
The ResultEntry Field Values

Parameters:
row - row number to get data from
Returns:
the row data in Object array form

setFieldValues

public void setFieldValues(Object[][] fieldValues)
Set the ResultEntry Field Values

Parameters:
fieldValues - 2 dimensional object array

getFieldValues

public Object[][] getFieldValues()
Get the ResultEntry Field Values

Returns:
2 dimensional object array consist of ResultEntry data

getRowNumber

public int getRowNumber()
Get the number of rows in the result set

Returns:
the number of rows in the result set

toString

public String toString()
Overrides:
toString in class Object
Returns:
the result set data

GigaSpaces XAP 7.1 API

Copyright © GigaSpaces.