External Interfaces > Reality Java Interface > JavaDocs > JavaDocs for Reality SQL/JDBC Classes > RealRowParser

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

Reality V15.0 ()

: Interface RealRowParser (RealSQL-JDBC) (realrowparser.html)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 


com.northgateis.reality.realsql
Interface RealRowParser

All Known Implementing Classes:
RealRowTokenizer

public abstract interface RealRowParser

Interface for parsing a row returned from the Reality SQL Server.

See Also:
ResultSet, RealRowTokenizer

Method Summary
 java.util.Iterator columns()
          Returns an iterator that enables a class to run through each of the column values.
 boolean exists(int index)
          Checks if the specified column exists.
 java.lang.String getValue(int index)
          Returns a specific column value.
 int size()
          Gets the total number of columns in the row.
 

Method Detail

columns

public java.util.Iterator columns()
 throws RealSQLException
Returns an iterator that enables a class to run through each of the column values.

Returns:
the iterator of column values
Throws:
RealSQLException - if an error occurs during parsing.


getValue

public java.lang.String getValue(int index)
 throws RealSQLException
Returns a specific column value.

Parameters:
index - the desired column index.
Returns:
the value for the specified column
Throws:
RealSQLException - if an error occurs during parsing.


exists

public boolean exists(int index)
 throws RealSQLException
Checks if the specified column exists.

Parameters:
index - the desired column index.
Returns:
true if the column index exists, false otherwise
Throws:
RealSQLException - if an error occurs during parsing.


size

public int size()
 throws RealSQLException
Gets the total number of columns in the row.

Returns:
the number of columns in the row
Throws:
RealSQLExceptionif - an error occurs during parsing.



RealityV15.0Comment on this topic