1 JSResultSet

Class deister.axional.script.lib.ax.rs.JSResultSet


A Wrapper of ResultSet (either JDBCResultSet or SQLResultSet)

Constructor Summary

Method
Description
JSResultSet(Ax.db conn, T rs)
Creates a new instance from a source ResultSet and a DB connection.
JSResultSet(T rs)
Creates a new instance from a source ResultSet.

Method Summary

Modifier and Type
Method
Description
Ax.text.String 
asJSON()
This is a vanilla JSON, not convertible back to ResultSet
void 
void 
Moves the cursor to the position before the first row.
void 
close()
Closes the ResultSet.
boolean 
closeIfNeed(Ax.text.String cause)
Closes the ResultSet only if not closed already.
cols()
Returns a ISQLResultSetCols to work with the ResultSet columns.
Compare two resultset withs a default delta
compare(IResultSetConvertible other, double delta)
cursor()
void 
boolean 
Compare two resultset withs a default delta
boolean 
equals(IResultSetConvertible other, double delta)
int 
findColumn(Ax.text.String columnName)
Returns the column index in the ResultSet.
Like toOne but will not fail if more than one row.
getAttribute(Ax.text.String name)
Gets the value of the attribute.
Ax.text.String 
getColumnLocalizedValue(Ax.text.String lang, int columnIndex)
Gets the localized value of a column.
Ax.text.String 
getColumnLocalizedValue(LocaleFormatter formater,int columnIndex)
Gets the localized value of a column.
Ax.text.String 
getColumnLocalizedValue(Ax.util.locale.Formatter formater, int columnIndex)
Gets the localized value of a column.
Ax.text.String 
getColumnType(Ax.text.String colname)
Gets a human readable version of column type (useful to determine data type).
Ax.db 
Returns the ResultSet db connection.
Returns an ExtendedResultSetMetaData to obtain and analyze the ResultSet metadata.
int 
Expose final method from MemoryResultSetStore so we can access to the object_id.
int 
Expose final method from MemoryResultSetStore so we can access to the parent_id.
int 
getRow()
Gets the current row number.
int 
Gets the number of rows loaded in memory ResultSet or -1 if it's unknown (because it's a JDBC ResultSet).
Ax.text.String 
getSQL()
Returns the ResultSet SQL query.
Ax.text.String 
Gets the ResultSet title
boolean 
boolean 
isColumnNullable(Ax.text.String colname)
Checks if the column is nullable.
boolean 
isColumnNumeric(int sqltype)
boolean 
Checks if the ResultSet is in memory.
boolean 
Returns an Iterator over the rows of the ResultSet.
Ax.text.String 
ltrim(Ax.text.String s)
Left trim empty spaces
boolean 
next()
Moves the cursor forward one row from its current position.
boolean 
Moves the cursor backwards one row from its current position.
boolean 
Trick to avoid double de-registration fail cause when a JSResultSet created in an internal context is de-registered first on it and later (as it's a return value) it's again tried to de-register in the top context.
rows()
Returns a ISQLResultSetCols to work with the ResultSet rows.
Ax.text.String 
rtrim(Ax.text.String s)
Right trim empty spaces
void 
setAttribute(Ax.text.String name,Object value)
Sets an attribute for the ResultSet.
setTitle(Ax.text.String title)
Sets a title for the ResultSet
stream()
Returns a sequential stream from the ResultSet.
List 
Returns the resultSet as a Java array (array of arrays).
List 
toArray(Ax.text.String columnName)
Same as toArray() but for a single column so it will return the column only.
List 
Convert the ResultSet into an array of Objects (useful to return to Javascript).
List 
toArray(ResultSet rs,Ax.text.String columnName)
Convert the ResultSet into a List
Ax.text.String 
toCSV()
Convert a ResultSet to CSV
void 
Convert a ResultSet to CSV using a provided configurator
byte[] 
Convert a ResultSet to Excel without consumer, returning directly it's bytes using default type (XLSX)
void 
Convert a ResultSet to CSV using a provided configurator
Ax.text.String 
toFOP()
Ax.text.String 
Convert the ResultSet to a FOP XML document
Ax.text.String 
toFOPTableBody(double width)
Ax.text.String 
toFOPTableBody(Consumer<FOPReportConfig> config,double width)
Convert the ResultSet to a FOP XML table body document so it can be integrated into another document
Ax.text.String 
toHTML()
Ax.text.String 
Convert the ResultSet to a HTML document
Ax.text.String 
toJSON()
Converts the ResultSet to a JSON in a format that is convertible back to a ResultSet.
Ax.text.String 
Convert a ResultSet to JSON
List 
Same as toOne() we should return a JSON array (at least immutable).
List 
Convert the ResultSet into an array of Maps (useful to return to Javascript).
Ax.text.String 
Convert the ResultSet to a Javascript declaration (useful for coding)
toMapByKey(String[] columns)
toMapByKey(ResultSet rs, String[] columns)
Class to handle the Map
Returns a JSResultSet wrapping a memory SQLResultSetArray so it can be iterated * many times.
toOne()
Returns the current row as JSON map fetching it and ensuring no more rows exists.
toOne(Ax.text.String errorMessageIfNotOne)
byte[] 
toPDF()
byte[] 
Convert the ResultSet to a PDF document
byte[] 
toPDF(Ax.text.String fop)
Useful method for testing so we can produce a FOP and transform to PDF
Returns a ResultSet from the JSResultset object.
Perform a conversion to resultset
toRow()
Creates a Row map for the ResultSet at current row position
toSQLCA(Object value)
Converts the object to SQLCA
Ax.text.String 
Returns a string with the ResultSet contents.
Ax.text.String 
toText()
Ax.text.String 
Convert the ResultSet to a TEXT document
Returns an object from the single-row single-column ResultSet.
byte[] 
toXLS()
Convert a ResultSet to Excel (XLS)
byte[] 
toXLSX()
Convert a ResultSet to Excel (XLSX using streaming api)
Ax.text.String 
trimNull(Ax.text.String str)
Convert a empty string to null
void 
update(Ax.text.String columnName,Object value)
void 

Constructor Detail

deister.axional.script.lib.ax.rs.JSResultSet.JSResultSet

deister.axional.script.lib.ax.rs.JSResultSet.JSResultSet(
	object conn,
	object rs
						)
Info:
Creates a new instance from a source ResultSet and a DB connection.
Parameters:
conn - the db connection
rs - the source ResultSet

deister.axional.script.lib.ax.rs.JSResultSet.JSResultSet

deister.axional.script.lib.ax.rs.JSResultSet.JSResultSet(
	object rs
						)
Info:
Creates a new instance from a source ResultSet.
Parameters:
rs - the source ResultSet

Method Detail

deister.axional.script.lib.ax.rs.JSResultSet.__toResultSet

resultset deister.axional.script.lib.ax.rs.JSResultSet.__toResultSet(
	object value
)
Parameters:
value - 
Returns:
resultset

deister.axional.script.lib.ax.rs.JSResultSet.asJSON

string deister.axional.script.lib.ax.rs.JSResultSet.asJSON()
Info:
This is a vanilla JSON, not convertible back to ResultSet
Returns:
string

deister.axional.script.lib.ax.rs.JSResultSet.asJSON

null deister.axional.script.lib.ax.rs.JSResultSet.asJSON(
	object config
)
Parameters:
config - 
Returns:
null

deister.axional.script.lib.ax.rs.JSResultSet.beforeFirst

null deister.axional.script.lib.ax.rs.JSResultSet.beforeFirst()
Info:
Moves the cursor to the position before the first row. WARNING: Calling this function on Forward-only ResultSets generates an Exception.
Returns:
null

deister.axional.script.lib.ax.rs.JSResultSet.close

null deister.axional.script.lib.ax.rs.JSResultSet.close()
Info:
Closes the ResultSet.
Returns:
null

Example
Copy
var rs = Ax.db.executeQuery("SELECT ..");
 rs.close();

deister.axional.script.lib.ax.rs.JSResultSet.closeIfNeed

boolean deister.axional.script.lib.ax.rs.JSResultSet.closeIfNeed(
	string cause
)
Info:
Closes the ResultSet only if not closed already.
Parameters:
cause - the closing cause
Returns:
boolean

deister.axional.script.lib.ax.rs.JSResultSet.cols

object deister.axional.script.lib.ax.rs.JSResultSet.cols()
Info:
Returns a ISQLResultSetCols to work with the ResultSet columns.
Returns:
object

deister.axional.script.lib.ax.rs.JSResultSet.compare

object deister.axional.script.lib.ax.rs.JSResultSet.compare(
	object other
)
Info:
Compare two resultset withs a default delta
Parameters:
other - 
Returns:
object

deister.axional.script.lib.ax.rs.JSResultSet.compare

object deister.axional.script.lib.ax.rs.JSResultSet.compare(
	object other,
	double delta
)
Parameters:
other - 
delta - 
Returns:
object

deister.axional.script.lib.ax.rs.JSResultSet.cursor

object deister.axional.script.lib.ax.rs.JSResultSet.cursor()
Returns:
object

deister.axional.script.lib.ax.rs.JSResultSet.deleteRow

null deister.axional.script.lib.ax.rs.JSResultSet.deleteRow()
Returns:
null

deister.axional.script.lib.ax.rs.JSResultSet.equals

boolean deister.axional.script.lib.ax.rs.JSResultSet.equals(
	object other
)
Info:
Compare two resultset withs a default delta
Parameters:
other - 
Returns:
boolean

deister.axional.script.lib.ax.rs.JSResultSet.equals

boolean deister.axional.script.lib.ax.rs.JSResultSet.equals(
	object other,
	double delta
)
Parameters:
other - 
delta - 
Returns:
boolean

deister.axional.script.lib.ax.rs.JSResultSet.findColumn

smallint deister.axional.script.lib.ax.rs.JSResultSet.findColumn(
	string columnName
)
Info:
Returns the column index in the ResultSet.
Parameters:
columnName - the column name
Returns:
smallint

deister.axional.script.lib.ax.rs.JSResultSet.firstOne

object deister.axional.script.lib.ax.rs.JSResultSet.firstOne()
Info:
Like toOne but will not fail if more than one row. It's like SQL SELECT FIRST 1.
Returns:
object

deister.axional.script.lib.ax.rs.JSResultSet.getAttribute

object deister.axional.script.lib.ax.rs.JSResultSet.getAttribute(
	string name
)
Info:
Gets the value of the attribute.
Parameters:
name - the attribute name
Returns:
object

deister.axional.script.lib.ax.rs.JSResultSet.getColumnLocalizedValue

string deister.axional.script.lib.ax.rs.JSResultSet.getColumnLocalizedValue(
	string lang,
	smallint columnIndex
)
Info:
Gets the localized value of a column.
Parameters:
lang - the language to get the locale
columnIndex - the index of the column to get
Returns:
string

deister.axional.script.lib.ax.rs.JSResultSet.getColumnLocalizedValue

string deister.axional.script.lib.ax.rs.JSResultSet.getColumnLocalizedValue(
	object formater,
	smallint columnIndex
)
Info:
Gets the localized value of a column.
Parameters:
formater - the locale formatter to use to get the localized value
columnIndex - the index of the column to get
Returns:
string

deister.axional.script.lib.ax.rs.JSResultSet.getColumnLocalizedValue

string deister.axional.script.lib.ax.rs.JSResultSet.getColumnLocalizedValue(
	object formater,
	smallint columnIndex
)
Info:
Gets the localized value of a column.
Parameters:
formater - the locale formatter to use to get the localized value
columnIndex - the index of the column to get
Returns:
string

deister.axional.script.lib.ax.rs.JSResultSet.getColumnType

string deister.axional.script.lib.ax.rs.JSResultSet.getColumnType(
	string colname
)
Info:
Gets a human readable version of column type (useful to determine data type).
Parameters:
colname - the name of the column
Returns:
string

deister.axional.script.lib.ax.rs.JSResultSet.getConnection

object deister.axional.script.lib.ax.rs.JSResultSet.getConnection()
Info:
Returns the ResultSet db connection.
Returns:
object

deister.axional.script.lib.ax.rs.JSResultSet.getMetaData

object deister.axional.script.lib.ax.rs.JSResultSet.getMetaData()
Info:
Returns an ExtendedResultSetMetaData to obtain and analyze the ResultSet metadata.
Returns:
object

deister.axional.script.lib.ax.rs.JSResultSet.getObjectId

smallint deister.axional.script.lib.ax.rs.JSResultSet.getObjectId()
Info:
Expose final method from MemoryResultSetStore so we can access to the object_id.
Returns:
smallint

deister.axional.script.lib.ax.rs.JSResultSet.getParentId

smallint deister.axional.script.lib.ax.rs.JSResultSet.getParentId()
Info:
Expose final method from MemoryResultSetStore so we can access to the parent_id.
Returns:
smallint

deister.axional.script.lib.ax.rs.JSResultSet.getRow

smallint deister.axional.script.lib.ax.rs.JSResultSet.getRow()
Info:
Gets the current row number.
Returns:
smallint

deister.axional.script.lib.ax.rs.JSResultSet.getRowCount

smallint deister.axional.script.lib.ax.rs.JSResultSet.getRowCount()
Info:
Gets the number of rows loaded in memory ResultSet or -1 if it's unknown (because it's a JDBC ResultSet).
Returns:
smallint

deister.axional.script.lib.ax.rs.JSResultSet.getSQL

string deister.axional.script.lib.ax.rs.JSResultSet.getSQL()
Info:
Returns the ResultSet SQL query.
Returns:
string

deister.axional.script.lib.ax.rs.JSResultSet.getTitle

string deister.axional.script.lib.ax.rs.JSResultSet.getTitle()
Info:
Gets the ResultSet title
Returns:
string

deister.axional.script.lib.ax.rs.JSResultSet.isClosed

boolean deister.axional.script.lib.ax.rs.JSResultSet.isClosed()
Returns:
boolean

deister.axional.script.lib.ax.rs.JSResultSet.isColumnNullable

boolean deister.axional.script.lib.ax.rs.JSResultSet.isColumnNullable(
	string colname
)
Info:
Checks if the column is nullable.
Parameters:
colname - the name of the column to check
Returns:
boolean

deister.axional.script.lib.ax.rs.JSResultSet.isColumnNumeric

boolean deister.axional.script.lib.ax.rs.JSResultSet.isColumnNumeric(
	smallint sqltype
)
Parameters:
sqltype - 
Returns:
boolean

deister.axional.script.lib.ax.rs.JSResultSet.isMemory

boolean deister.axional.script.lib.ax.rs.JSResultSet.isMemory()
Info:
Checks if the ResultSet is in memory.
Returns:
boolean

deister.axional.script.lib.ax.rs.JSResultSet.isResultSet

boolean deister.axional.script.lib.ax.rs.JSResultSet.isResultSet(
	object value
)
Parameters:
value - 
Returns:
boolean

deister.axional.script.lib.ax.rs.JSResultSet.iterator

object deister.axional.script.lib.ax.rs.JSResultSet.iterator()
Info:
Returns an Iterator over the rows of the ResultSet.
Returns:
object

deister.axional.script.lib.ax.rs.JSResultSet.ltrim

string deister.axional.script.lib.ax.rs.JSResultSet.ltrim(
	string s
)
Info:
Left trim empty spaces
Parameters:
s - 
Returns:
string

deister.axional.script.lib.ax.rs.JSResultSet.next

boolean deister.axional.script.lib.ax.rs.JSResultSet.next()
Info:
Moves the cursor forward one row from its current position.
Returns:
boolean

deister.axional.script.lib.ax.rs.JSResultSet.pivot

resultset deister.axional.script.lib.ax.rs.JSResultSet.pivot(
	object config
)
Parameters:
config - 
Returns:
resultset

deister.axional.script.lib.ax.rs.JSResultSet.previous

boolean deister.axional.script.lib.ax.rs.JSResultSet.previous()
Info:
Moves the cursor backwards one row from its current position. WARNING: Calling this function on Forward-only ResultSets generates an Exception.
Returns:
boolean

deister.axional.script.lib.ax.rs.JSResultSet.requiresDeRegister

boolean deister.axional.script.lib.ax.rs.JSResultSet.requiresDeRegister()
Info:
Trick to avoid double de-registration fail cause when a JSResultSet created in an internal context is de-registered first on it and later (as it's a return value) it's again tried to de-register in the top context. The problem is caused by a call to a function. We have the first context and the context of the function. The internal function return deregisters the resultset and the second return again!
Returns:
boolean

Example
Copy
var mSQLCond = Ax.context.property.COND.toString();
	    var mSort    = Ax.context.variable.ORDERBY;
	    
	    return Ax.db.call("capuntesComp", mSQLCond, mSort)

deister.axional.script.lib.ax.rs.JSResultSet.rows

object deister.axional.script.lib.ax.rs.JSResultSet.rows()
Info:
Returns a ISQLResultSetCols to work with the ResultSet rows.
Returns:
object

deister.axional.script.lib.ax.rs.JSResultSet.rtrim

string deister.axional.script.lib.ax.rs.JSResultSet.rtrim(
	string s
)
Info:
Right trim empty spaces
Parameters:
s - 
Returns:
string

deister.axional.script.lib.ax.rs.JSResultSet.setAttribute

null deister.axional.script.lib.ax.rs.JSResultSet.setAttribute(
	string name,
	object value
)
Info:
Sets an attribute for the ResultSet.
Parameters:
name - the attribute name
value - the attribute value
Returns:
null

deister.axional.script.lib.ax.rs.JSResultSet.setTitle

resultset deister.axional.script.lib.ax.rs.JSResultSet.setTitle(
	string title
)
Info:
Sets a title for the ResultSet
Parameters:
title - the title to set
Returns:
resultset

deister.axional.script.lib.ax.rs.JSResultSet.stream

object deister.axional.script.lib.ax.rs.JSResultSet.stream()
Info:
Returns a sequential stream from the ResultSet.
Returns:
object

Example
Copy
var rs_list = Ax.db.executeQuery(`
     SELECT * FROM systables
 `);

 var rs_filter = rs_list.stream().filter(f => f.getString("tabname").equals("systables")).toResultSet();
 // We will have a new ResultSet with only the row marching "tabname=systables"
 console.log(rs_filter);

deister.axional.script.lib.ax.rs.JSResultSet.toArray

array deister.axional.script.lib.ax.rs.JSResultSet.toArray()
Info:
Returns the resultSet as a Java array (array of arrays).
Returns:
array

deister.axional.script.lib.ax.rs.JSResultSet.toArray

array deister.axional.script.lib.ax.rs.JSResultSet.toArray(
	string columnName
)
Info:
Same as toArray() but for a single column so it will return the column only.
Parameters:
columnName - 
Returns:
array

deister.axional.script.lib.ax.rs.JSResultSet.toArray

array deister.axional.script.lib.ax.rs.JSResultSet.toArray(
	resultset rs
)
Info:
Convert the ResultSet into an array of Objects (useful to return to Javascript).
Parameters:
rs - 
Returns:
array

deister.axional.script.lib.ax.rs.JSResultSet.toArray

array deister.axional.script.lib.ax.rs.JSResultSet.toArray(
	resultset rs,
	string columnName
)
Info:
Convert the ResultSet into a List
Parameters:
rs - 
columnName - 
Returns:
array

deister.axional.script.lib.ax.rs.JSResultSet.toCSV

string deister.axional.script.lib.ax.rs.JSResultSet.toCSV()
Info:
Convert a ResultSet to CSV
Returns:
string

deister.axional.script.lib.ax.rs.JSResultSet.toCSV

null deister.axional.script.lib.ax.rs.JSResultSet.toCSV(
	object config
)
Info:
Convert a ResultSet to CSV using a provided configurator
Parameters:
config - 
Returns:
null

deister.axional.script.lib.ax.rs.JSResultSet.toExcel

byte[] deister.axional.script.lib.ax.rs.JSResultSet.toExcel()
Info:
Convert a ResultSet to Excel without consumer, returning directly it's bytes using default type (XLSX)
Returns:
byte[]

deister.axional.script.lib.ax.rs.JSResultSet.toExcel

null deister.axional.script.lib.ax.rs.JSResultSet.toExcel(
	object config
)
Info:
Convert a ResultSet to CSV using a provided configurator
Parameters:
config - 
Returns:
null

deister.axional.script.lib.ax.rs.JSResultSet.toFOP

string deister.axional.script.lib.ax.rs.JSResultSet.toFOP()
Returns:
string

deister.axional.script.lib.ax.rs.JSResultSet.toFOP

string deister.axional.script.lib.ax.rs.JSResultSet.toFOP(
	object config
)
Info:
Convert the ResultSet to a FOP XML document
Parameters:
config - 
Returns:
string

deister.axional.script.lib.ax.rs.JSResultSet.toFOPTableBody

string deister.axional.script.lib.ax.rs.JSResultSet.toFOPTableBody(
	double width
)
Parameters:
width - 
Returns:
string

deister.axional.script.lib.ax.rs.JSResultSet.toFOPTableBody

string deister.axional.script.lib.ax.rs.JSResultSet.toFOPTableBody(
	object config,
	double width
)
Info:
Convert the ResultSet to a FOP XML table body document so it can be integrated into another document
Parameters:
config - 
width - 
Returns:
string

deister.axional.script.lib.ax.rs.JSResultSet.toHTML

string deister.axional.script.lib.ax.rs.JSResultSet.toHTML()
Returns:
string

deister.axional.script.lib.ax.rs.JSResultSet.toHTML

string deister.axional.script.lib.ax.rs.JSResultSet.toHTML(
	object config
)
Info:
Convert the ResultSet to a HTML document
Parameters:
config - 
Returns:
string

deister.axional.script.lib.ax.rs.JSResultSet.toJSON

string deister.axional.script.lib.ax.rs.JSResultSet.toJSON()
Info:
Converts the ResultSet to a JSON in a format that is convertible back to a ResultSet.
Returns:
string

deister.axional.script.lib.ax.rs.JSResultSet.toJSON

string deister.axional.script.lib.ax.rs.JSResultSet.toJSON(
	object config
)
Info:
Convert a ResultSet to JSON
Parameters:
config - 
Returns:
string

deister.axional.script.lib.ax.rs.JSResultSet.toJSONArray

array deister.axional.script.lib.ax.rs.JSResultSet.toJSONArray()
Info:
Same as toOne() we should return a JSON array (at least immutable).
Returns:
array

deister.axional.script.lib.ax.rs.JSResultSet.toJSONArray

array deister.axional.script.lib.ax.rs.JSResultSet.toJSONArray(
	resultset rs
)
Info:
Convert the ResultSet into an array of Maps (useful to return to Javascript).
Parameters:
rs - 
Returns:
array

deister.axional.script.lib.ax.rs.JSResultSet.toJavaScript

string deister.axional.script.lib.ax.rs.JSResultSet.toJavaScript()
Info:
Convert the ResultSet to a Javascript declaration (useful for coding)
Returns:
string

deister.axional.script.lib.ax.rs.JSResultSet.toMapByKey

object deister.axional.script.lib.ax.rs.JSResultSet.toMapByKey(
	string[] columns
)
Parameters:
columns - 
Returns:
object

deister.axional.script.lib.ax.rs.JSResultSet.toMapByKey

object deister.axional.script.lib.ax.rs.JSResultSet.toMapByKey(
	resultset rs,
	string[] columns
)
Info:
Class to handle the Map
Parameters:
rs - 
columns - 
Returns:
object

deister.axional.script.lib.ax.rs.JSResultSet.toMemory

resultset deister.axional.script.lib.ax.rs.JSResultSet.toMemory()
Info:
Returns a JSResultSet wrapping a memory SQLResultSetArray so it can be iterated * many times.
Returns:
resultset

deister.axional.script.lib.ax.rs.JSResultSet.toOne

object deister.axional.script.lib.ax.rs.JSResultSet.toOne()
Info:
Returns the current row as JSON map fetching it and ensuring no more rows exists. We return a JSObject instead of ResultSetRowMap cause even Nashorn hanles perfectly the Map in javascript, if we want to compose a JSON object using this as element it will not really be composed of JSONs. The case comes when we want to send a composed JSON object combining various JSONs and JSON arrays. Even this object can be handled by Nashorn, if we build it using ResultSetRowMap for invoice an company and and List
Returns:
object

Example
Copy
for items, it is not really composed of JSON objects.

 If not rows, the map contains the keys with null values.

 
 
 var json = {
   invoice : Ax.db.executeQuery("SELECT invoiceNumber, invocieDate as date, total FROM invoice WHERE invoiceNumber = ?", number).toOne(),
   company : Ax.db.executeQuery("SELECT * FROM company where company_id = (SELECT company_id FROM invoice WHERE invoiceNumber = ?)", number).toOne(),
   items   : Ax.db.executeQuery("SELECT * FROM items WHERE invoiceNumber = ? ORDER BY seqno", number).toArray()
 }

deister.axional.script.lib.ax.rs.JSResultSet.toOne

object deister.axional.script.lib.ax.rs.JSResultSet.toOne(
	string errorMessageIfNotOne
)
Parameters:
errorMessageIfNotOne - 
Returns:
object

deister.axional.script.lib.ax.rs.JSResultSet.toPDF

byte[] deister.axional.script.lib.ax.rs.JSResultSet.toPDF()
Returns:
byte[]

deister.axional.script.lib.ax.rs.JSResultSet.toPDF

byte[] deister.axional.script.lib.ax.rs.JSResultSet.toPDF(
	object config
)
Info:
Convert the ResultSet to a PDF document
Parameters:
config - 
Returns:
byte[]

deister.axional.script.lib.ax.rs.JSResultSet.toPDF

byte[] deister.axional.script.lib.ax.rs.JSResultSet.toPDF(
	string fop
)
Info:
Useful method for testing so we can produce a FOP and transform to PDF
Parameters:
fop - 
Returns:
byte[]

deister.axional.script.lib.ax.rs.JSResultSet.toResultSet

resultset deister.axional.script.lib.ax.rs.JSResultSet.toResultSet()
Info:
Returns a ResultSet from the JSResultset object.
Returns:
resultset

deister.axional.script.lib.ax.rs.JSResultSet.toResultSet

resultset deister.axional.script.lib.ax.rs.JSResultSet.toResultSet(
	object value
)
Info:
Perform a conversion to resultset
Parameters:
value - 
Returns:
resultset

deister.axional.script.lib.ax.rs.JSResultSet.toRow

object deister.axional.script.lib.ax.rs.JSResultSet.toRow()
Info:
Creates a Row map for the ResultSet at current row position
Returns:
object

deister.axional.script.lib.ax.rs.JSResultSet.toSQLCA

object deister.axional.script.lib.ax.rs.JSResultSet.toSQLCA(
	object value
)
Info:
Converts the object to SQLCA
Parameters:
value - 
Returns:
object

deister.axional.script.lib.ax.rs.JSResultSet.toString

string deister.axional.script.lib.ax.rs.JSResultSet.toString()
Info:
Returns a string with the ResultSet contents. Allows console.log(db.executeQuery(...));
Returns:
string

deister.axional.script.lib.ax.rs.JSResultSet.toText

string deister.axional.script.lib.ax.rs.JSResultSet.toText()
Returns:
string

deister.axional.script.lib.ax.rs.JSResultSet.toText

string deister.axional.script.lib.ax.rs.JSResultSet.toText(
	object config
)
Info:
Convert the ResultSet to a TEXT document
Parameters:
config - 
Returns:
string

deister.axional.script.lib.ax.rs.JSResultSet.toValue

object deister.axional.script.lib.ax.rs.JSResultSet.toValue()
Info:
Returns an object from the single-row single-column ResultSet.
Returns:
object

deister.axional.script.lib.ax.rs.JSResultSet.toValue

object deister.axional.script.lib.ax.rs.JSResultSet.toValue(
	resultset rs
)
Parameters:
rs - 
Returns:
object

deister.axional.script.lib.ax.rs.JSResultSet.toXLS

byte[] deister.axional.script.lib.ax.rs.JSResultSet.toXLS()
Info:
Convert a ResultSet to Excel (XLS)
Returns:
byte[]

deister.axional.script.lib.ax.rs.JSResultSet.toXLSX

byte[] deister.axional.script.lib.ax.rs.JSResultSet.toXLSX()
Info:
Convert a ResultSet to Excel (XLSX using streaming api)
Returns:
byte[]

deister.axional.script.lib.ax.rs.JSResultSet.trimNull

string deister.axional.script.lib.ax.rs.JSResultSet.trimNull(
	string str
)
Info:
Convert a empty string to null
Parameters:
str - 
Returns:
string

deister.axional.script.lib.ax.rs.JSResultSet.update

null deister.axional.script.lib.ax.rs.JSResultSet.update(
	string columnName,
	object value
)
Parameters:
columnName - 
value - 
Returns:
null

deister.axional.script.lib.ax.rs.JSResultSet.updateRow

null deister.axional.script.lib.ax.rs.JSResultSet.updateRow()
Returns:
null

2 Report

Class Ax.rs.Report


This class provides high level reporting functions for database ResultSet processing. It also provides high quality PDF generation. Wrapper of ResultSetCursorReport.

Constructor Summary

Method
Description
Creates an instance of ResultSetCursorReport based on the given ResultSet.
Creates a new report instance from a memory ResultSet.

Method Summary

Modifier and Type
Method
Description
Ax.text.String 
asJSON()
This is a vanilla JSON, not convertible back to ResultSet
void 
void 
close()
Ensure the ResultSet is closed.
Compare two resultset withs a default delta
compare(IResultSetConvertible other,double delta)
cursor()
boolean 
Compare two resultset withs a default delta
boolean 
equals(IResultSetConvertible other, double delta)
Returns the JSResultSet that has created this report or null if comes from memory.
Returns the memory metadata to allow change its properties (like column scale).
boolean 
An iterator over the rows of the ResultSet.
Ax.rs.Report 
setAccumulated(Ax.text.String name)
This method defines columns as accumulated.
Ax.rs.Report 
setAvoidSingleRowTotals(boolean collapse)
If avoid is true, avoid to show total lines if only one data line is in the group.
Ax.rs.Report 
setCollapseTotals(boolean collapse)
If collapse is true, try to merge in a single total line aggregators of different categories: SUM, AVG, etc.
Ax.rs.Report 
setExpression(Ax.text.String name, Ax.text.String expression)
Defines an UEL Expression to be executed to get data value for the row.
setGroupBy(String[] columnNames)
Defines a report group when content of columns in parameter changes.
Ax.rs.Report 
setHeader(int columnIndex, Ax.text.String headerLabel)
Set a title for the column.
setTotalBy(Ax.text.String name)
Defines a SUM aggregator to show in the grand total row.
setTotalBy(Ax.text.String name, String[] statistics)
Defines an aggregator of type "statistics" for the column "columnName".
setTotalByExpression(Ax.text.String name,Ax.text.String expression)
Defines a total aggregator calculated with the expression provided.
stream()
Returns a sequential stream from the ResultSet.
Ax.text.String 
toCSV()
Convert a ResultSet to CSV
void 
Convert a ResultSet to CSV using a provided configurator
byte[] 
Convert a ResultSet to Excel without consumer, returning directly it's bytes using default type (XLSX)
void 
Convert a ResultSet to CSV using a provided configurator
Ax.text.String 
toFOP()
Ax.text.String 
Convert the ResultSet to a FOP XML document
Ax.text.String 
toFOPTableBody(double width)
Ax.text.String 
toFOPTableBody(Consumer<FOPReportConfig> config, double width)
Convert the ResultSet to a FOP XML table body document so it can be integrated into another document
Ax.text.String 
toHTML()
Ax.text.String 
Convert the ResultSet to a HTML document
Ax.text.String 
toJSON()
Convert a ResultSet to JSON that can be digested by aa JSON2ResultSet again into a SQLResultSetArray
Ax.text.String 
Convert a ResultSet to JSON
Ax.text.String 
Convert the ResultSet to a Javascript declaration (useful for coding)
byte[] 
toPDF()
byte[] 
Convert the ResultSet to a PDF document
byte[] 
toPDF(Ax.text.String fop)
Useful method for testing so we can produce a FOP and transform to PDF
Converts the report to a ResultSet.
Perform a conversion to resultset
toRow()
toSQLCA(Object value)
Converts the object to SQLCA
Ax.text.String 
Returns a string with the ResultSet contents.
Ax.text.String 
toText()
Ax.text.String 
Convert the ResultSet to a TEXT document
byte[] 
toXLS()
Convert a ResultSet to Excel (XLS)
byte[] 
toXLSX()
Convert a ResultSet to Excel (XLSX using streaming api)

Constructor Detail

Ax.rs.Report.JSResultSetCursorReport

Ax.rs.Report.JSResultSetCursorReport(
	resultset rs
						)
Info:
Creates an instance of ResultSetCursorReport based on the given ResultSet.
Parameters:
rs - the source ResultSet

Example
Copy
var report = new Ax.rs.Report(rs);

Ax.rs.Report.JSResultSetCursorReport

Ax.rs.Report.JSResultSetCursorReport(
	resultset rs
						)
Info:
Creates a new report instance from a memory ResultSet.
Parameters:
rs - the memory ResultSet

Example
Copy
var report = new Ax.rs.Report(rs);

Method Detail

Ax.rs.Report.__toResultSet

resultset Ax.rs.Report.__toResultSet(
	object value
)
Parameters:
value - 
Returns:
resultset

Ax.rs.Report.asJSON

string Ax.rs.Report.asJSON()
Info:
This is a vanilla JSON, not convertible back to ResultSet
Returns:
string

Ax.rs.Report.asJSON

null Ax.rs.Report.asJSON(
	object config
)
Parameters:
config - 
Returns:
null

Ax.rs.Report.close

null Ax.rs.Report.close()
Info:
Ensure the ResultSet is closed. Notice that if not, ResultSet will keep open when returning from a function that uses it in a report cause report has acquired a hold on it. SEE constructor acquireRefence() call. Notice that RS may be a ResultSetCursor or memory ResultSet, not necessarily a JDBC ResultSet.
Returns:
null

Ax.rs.Report.compare

object Ax.rs.Report.compare(
	object other
)
Info:
Compare two resultset withs a default delta
Parameters:
other - 
Returns:
object

Ax.rs.Report.compare

object Ax.rs.Report.compare(
	object other,
	double delta
)
Parameters:
other - 
delta - 
Returns:
object

Ax.rs.Report.cursor

object Ax.rs.Report.cursor()
Returns:
object

Ax.rs.Report.equals

boolean Ax.rs.Report.equals(
	object other
)
Info:
Compare two resultset withs a default delta
Parameters:
other - 
Returns:
boolean

Ax.rs.Report.equals

boolean Ax.rs.Report.equals(
	object other,
	double delta
)
Parameters:
other - 
delta - 
Returns:
boolean

Ax.rs.Report.getJSResultSet

resultset Ax.rs.Report.getJSResultSet()
Info:
Returns the JSResultSet that has created this report or null if comes from memory.
Returns:
resultset

Ax.rs.Report.getMetaData

object Ax.rs.Report.getMetaData()
Info:
Returns the memory metadata to allow change its properties (like column scale).
Returns:
object

Ax.rs.Report.isResultSet

boolean Ax.rs.Report.isResultSet(
	object value
)
Parameters:
value - 
Returns:
boolean

Ax.rs.Report.iterator

object Ax.rs.Report.iterator()
Info:
An iterator over the rows of the ResultSet.
Returns:
object

Ax.rs.Report.setAccumulated

object Ax.rs.Report.setAccumulated(
	string name
)
Info:
This method defines columns as accumulated. Accumulated is an special aggregator function. For each rows with columns defined as accumulated, it shows the current value received from the ResultSet plus the accumulated value calculated in previous row.
Parameters:
name - the name of the column to set as accumulated
Returns:
object

Ax.rs.Report.setAvoidSingleRowTotals

object Ax.rs.Report.setAvoidSingleRowTotals(
	boolean collapse
)
Info:
If avoid is true, avoid to show total lines if only one data line is in the group. This simplifies report output by avoiding reports with superfluous total separators.
Parameters:
collapse - whether to avoid to show total lines if only one data line is in the group
Returns:
object

Ax.rs.Report.setCollapseTotals

object Ax.rs.Report.setCollapseTotals(
	boolean collapse
)
Info:
If collapse is true, try to merge in a single total line aggregators of different categories: SUM, AVG, etc. This only works if not single column has two or more aggregators.
Parameters:
collapse - whether to merge in a single total line aggregators of different categories
Returns:
object

Ax.rs.Report.setExpression

object Ax.rs.Report.setExpression(
	string name,
	string expression
)
Info:
Defines an UEL Expression to be executed to get data value for the row. This allows to create virtual rows, coming voided or zeroed from recordset and being calculated on the fly by the report generator.
Parameters:
name - the new esxperssion name
expression - the new expression value/formula
Returns:
object

Ax.rs.Report.setGroupBy

object Ax.rs.Report.setGroupBy(
	string[] columnNames
)
Info:
Defines a report group when content of columns in parameter changes.
Parameters:
columnNames - the names of the columns to group
Returns:
object

Ax.rs.Report.setHeader

object Ax.rs.Report.setHeader(
	smallint columnIndex,
	string headerLabel
)
Info:
Set a title for the column.
Parameters:
columnIndex - the index of the column to set the title
headerLabel - the new column title
Returns:
object

Ax.rs.Report.setTotalBy

object Ax.rs.Report.setTotalBy(
	string name
)
Info:
Defines a SUM aggregator to show in the grand total row.
Parameters:
name - the name of the column to aggregate
Returns:
object

Ax.rs.Report.setTotalBy

object Ax.rs.Report.setTotalBy(
	string name,
	string[] statistics
)
Info:
Defines an aggregator of type "statistics" for the column "columnName". This aggregator shows in the grand total row. Allowed types of aggregators are: SUM, AVG, MAX, MIN, COUNT, DISTINCT, EXPRESSION
Parameters:
name - the name of the column to aggregate
statistics - the aggregators to use
Returns:
object

Ax.rs.Report.setTotalByExpression

object Ax.rs.Report.setTotalByExpression(
	string name,
	string expression
)
Info:
Defines a total aggregator calculated with the expression provided. In this context, column name provided gets values from the same row in which expression calculation is provided. We encourage the use of collapsed totals when using totals by expression.
Parameters:
name - the name of the column to aggregate
expression - the agggregation expression
Returns:
object

Ax.rs.Report.stream

object Ax.rs.Report.stream()
Info:
Returns a sequential stream from the ResultSet.
Returns:
object

Example
Copy
var rs_list = Ax.db.executeQuery(`
     SELECT * FROM systables
 `);

 let report = new Ax.rs.Report(rs_list);

 var rs_filter = report.stream().filter(f => f.getString("tabname").equals("systables")).toResultSet();
 // We will have a new ResultSet with only the row marching "tabname=systables"
 console.log(rs_filter);

Ax.rs.Report.toCSV

string Ax.rs.Report.toCSV()
Info:
Convert a ResultSet to CSV
Returns:
string

Ax.rs.Report.toCSV

null Ax.rs.Report.toCSV(
	object config
)
Info:
Convert a ResultSet to CSV using a provided configurator
Parameters:
config - 
Returns:
null

Ax.rs.Report.toExcel

byte[] Ax.rs.Report.toExcel()
Info:
Convert a ResultSet to Excel without consumer, returning directly it's bytes using default type (XLSX)
Returns:
byte[]

Ax.rs.Report.toExcel

null Ax.rs.Report.toExcel(
	object config
)
Info:
Convert a ResultSet to CSV using a provided configurator
Parameters:
config - 
Returns:
null

Ax.rs.Report.toFOP

string Ax.rs.Report.toFOP()
Returns:
string

Ax.rs.Report.toFOP

string Ax.rs.Report.toFOP(
	object config
)
Info:
Convert the ResultSet to a FOP XML document
Parameters:
config - 
Returns:
string

Ax.rs.Report.toFOPTableBody

string Ax.rs.Report.toFOPTableBody(
	double width
)
Parameters:
width - 
Returns:
string

Ax.rs.Report.toFOPTableBody

string Ax.rs.Report.toFOPTableBody(
	object config,
	double width
)
Info:
Convert the ResultSet to a FOP XML table body document so it can be integrated into another document
Parameters:
config - 
width - 
Returns:
string

Ax.rs.Report.toHTML

string Ax.rs.Report.toHTML()
Returns:
string

Ax.rs.Report.toHTML

string Ax.rs.Report.toHTML(
	object config
)
Info:
Convert the ResultSet to a HTML document
Parameters:
config - 
Returns:
string

Ax.rs.Report.toJSON

string Ax.rs.Report.toJSON()
Info:
Convert a ResultSet to JSON that can be digested by aa JSON2ResultSet again into a SQLResultSetArray
Returns:
string

Ax.rs.Report.toJSON

string Ax.rs.Report.toJSON(
	object config
)
Info:
Convert a ResultSet to JSON
Parameters:
config - 
Returns:
string

Ax.rs.Report.toJavaScript

string Ax.rs.Report.toJavaScript()
Info:
Convert the ResultSet to a Javascript declaration (useful for coding)
Returns:
string

Ax.rs.Report.toPDF

byte[] Ax.rs.Report.toPDF()
Returns:
byte[]

Ax.rs.Report.toPDF

byte[] Ax.rs.Report.toPDF(
	object config
)
Info:
Convert the ResultSet to a PDF document
Parameters:
config - 
Returns:
byte[]

Ax.rs.Report.toPDF

byte[] Ax.rs.Report.toPDF(
	string fop
)
Info:
Useful method for testing so we can produce a FOP and transform to PDF
Parameters:
fop - 
Returns:
byte[]

Ax.rs.Report.toResultSet

resultset Ax.rs.Report.toResultSet()
Info:
Converts the report to a ResultSet. Ensure always return a beforeFirst positioned RS.
Returns:
resultset

Ax.rs.Report.toResultSet

resultset Ax.rs.Report.toResultSet(
	object value
)
Info:
Perform a conversion to resultset
Parameters:
value - 
Returns:
resultset

Ax.rs.Report.toRow

object Ax.rs.Report.toRow()
Returns:
object

Ax.rs.Report.toSQLCA

object Ax.rs.Report.toSQLCA(
	object value
)
Info:
Converts the object to SQLCA
Parameters:
value - 
Returns:
object

Ax.rs.Report.toString

string Ax.rs.Report.toString()
Info:
Returns a string with the ResultSet contents. Allows console.log(db.executeQuery(...));
Returns:
string

Ax.rs.Report.toText

string Ax.rs.Report.toText()
Returns:
string

Ax.rs.Report.toText

string Ax.rs.Report.toText(
	object config
)
Info:
Convert the ResultSet to a TEXT document
Parameters:
config - 
Returns:
string

Ax.rs.Report.toXLS

byte[] Ax.rs.Report.toXLS()
Info:
Convert a ResultSet to Excel (XLS)
Returns:
byte[]

Ax.rs.Report.toXLSX

byte[] Ax.rs.Report.toXLSX()
Info:
Convert a ResultSet to Excel (XLSX using streaming api)
Returns:
byte[]

3 Table

Class Ax.rs.Table


EXPERIMENTAL Wraps a ResultSetCursorTable. This provides javascript a way to handle table transactions using isdm cursor style objects. It includes the possibility to perform horizontal joins and the associated combined transactions. This means that the update (insert pending?) operation may be performed on multiple tables. We can use a test with 3 tables to show the use. country, region language Austria EU de Germany EU de Russia EA ru USA NA en Spain EU es Mexico SA es continents EU Europe AS Asia NA North America SA South America AF Africa AU Australia language description de German ru Russian en English

Constructor Summary

Method
Description
JSResultSetCursorTable(Ax.db conn, Ax.text.String tableName, Ax.text.String cond, Ax.text.String sort)
TODO: how to setup user! that is calling.

Method Summary

Modifier and Type
Method
Description
Ax.rs.Table 
addHorizontalJoin(Ax.text.String name, Ax.text.String sql, Map<StringColumnMetaDataName> colmapping)
Ax.rs.Table 
addHorizontalJoin(Ax.text.String tableName,Ax.text.String joindCondition,Ax.text.String orderBy)

Constructor Detail

Ax.rs.Table.JSResultSetCursorTable

Ax.rs.Table.JSResultSetCursorTable(
	object conn,
	string tableName,
	string cond,
	string sort
						)
Info:
TODO: how to setup user! that is calling...
Parameters:
conn - 
tableName - 
cond - 
sort - 

Method Detail

Ax.rs.Table.addHorizontalJoin

object Ax.rs.Table.addHorizontalJoin(
	string name,
	string sql,
	object colmapping
)
Parameters:
name - 
sql - 
colmapping - 
Returns:
object

Ax.rs.Table.addHorizontalJoin

object Ax.rs.Table.addHorizontalJoin(
	string tableName,
	string joindCondition,
	string orderBy
)
Parameters:
tableName - 
joindCondition - 
orderBy - 
Returns:
object

4 Reader

Class Ax.rs.Reader


Class to generate ResultSets from various resources(Lists, CSV, EXCEL, DB...) and work with them.

Constructor Summary

Method
Description

Method Summary

Constructor Detail

Ax.rs.Reader.JSResultSetReader

Ax.rs.Reader.JSResultSetReader()

Method Detail

Ax.rs.Reader.build

resultset Ax.rs.Reader.build(
	array src
)
Info:
Builds a ResultSet from the given data.
Parameters:
src - the data list
Returns:
resultset

Example
Copy
var rows = [
 		[1, "A", 1.3 ],
		[2, "B", 2.6 ],
		[3, "C", 3.9 ],
		];
		var rs = new Ax.rs.Reader().build(rows);

Ax.rs.Reader.build

resultset Ax.rs.Reader.build(
	array src,
	object config
)
Info:
Builds a ResultSet from the given data.
Parameters:
src - the data list
config - the ResultSet configuration function
Returns:
resultset

Example
Copy
var rows = [
 		[1, "A", 1.3 ],
		[2, "B", 2.6 ],
		[3, "C", 3.9 ],
		];
		var rs = new Ax.rs.Reader().build(rows, options -> {options.setColumnNames(["a", "b", "c"])});
		console.log(rs);

Ax.rs.Reader.csv

resultset Ax.rs.Reader.csv(
	file file
)
Parameters:
file - 
Returns:
resultset

Ax.rs.Reader.csv

resultset Ax.rs.Reader.csv(
	object url
)
Parameters:
url - 
Returns:
resultset

Ax.rs.Reader.csv

resultset Ax.rs.Reader.csv(
	object is
)
Parameters:
is - 
Returns:
resultset

Ax.rs.Reader.csv

resultset Ax.rs.Reader.csv(
	object options
)
Parameters:
options - 
Returns:
resultset

Ax.rs.Reader.csv

resultset Ax.rs.Reader.csv(
	object options
)
Parameters:
options - 
Returns:
resultset

Ax.rs.Reader.db

resultset Ax.rs.Reader.db(
	object config
)
Parameters:
config - 
Returns:
resultset

Ax.rs.Reader.dbf

resultset Ax.rs.Reader.dbf(
	file file
)
Parameters:
file - 
Returns:
resultset

Ax.rs.Reader.dbf

resultset Ax.rs.Reader.dbf(
	object url
)
Parameters:
url - 
Returns:
resultset

Ax.rs.Reader.dbf

resultset Ax.rs.Reader.dbf(
	object is
)
Parameters:
is - 
Returns:
resultset

Ax.rs.Reader.dbf

resultset Ax.rs.Reader.dbf(
	object options
)
Parameters:
options - 
Returns:
resultset

Ax.rs.Reader.dbf

resultset Ax.rs.Reader.dbf(
	object options
)
Parameters:
options - 
Returns:
resultset

Ax.rs.Reader.excel

resultset Ax.rs.Reader.excel(
	file file
)
Parameters:
file - 
Returns:
resultset

Ax.rs.Reader.excel

resultset Ax.rs.Reader.excel(
	object url
)
Parameters:
url - 
Returns:
resultset

Ax.rs.Reader.excel

resultset Ax.rs.Reader.excel(
	object is
)
Parameters:
is - 
Returns:
resultset

Ax.rs.Reader.excel

resultset Ax.rs.Reader.excel(
	object config
)
Parameters:
config - 
Returns:
resultset

Ax.rs.Reader.excel

resultset Ax.rs.Reader.excel(
	object options
)
Parameters:
options - 
Returns:
resultset

Ax.rs.Reader.json

resultset Ax.rs.Reader.json(
	object config
)
Parameters:
config - 
Returns:
resultset

Ax.rs.Reader.memory

resultset Ax.rs.Reader.memory(
	object options
)
Parameters:
options - 
Returns:
resultset

Ax.rs.Reader.memory

resultset Ax.rs.Reader.memory(
	object config
)
Parameters:
config - 
Returns:
resultset

Ax.rs.Reader.text

resultset Ax.rs.Reader.text(
	object config
)
Parameters:
config - 
Returns:
resultset

5 Writer

Class Ax.rs.Writer


This class provides a mechanism to write data from a ResultSet data source to CSV, Excel, SQL, Text or commit to a database transaction.

Constructor Summary

Method
Description
Creates a new instance with a source ResultSet.

Method Summary

Modifier and Type
Method
Description
csv(File file)
Exports the ResultSet to a File in CSV format.
Exports the ResultSet to an OutputStream in CSV format.
csv(Consumer<CSVExportOptions> configurator)
Exports the ResultSet to a File in CSV format.
db(Consumer<DBExportOptions> configurator)
Exports the ResultSet to a DataBase.
dbf(File file)
Exports the ResultSet to a File in CSV format.
Exports the ResultSet to an OutputStream in CSV format.
dbf(Consumer<DBFExportOptions> configurator)
Exports the ResultSet to a File in CSV format.
excel(File file)
Exports the ResultSet to a File in Excel format.
Exports the ResultSet to an OutputStream in Excel format.
Exports the ResultSet to a File in Excel format.
The write/export statistics (# rows inserted, updated, errors, excluded) which is specially needed when RsultSet is exported to a DB with db().
json(Consumer<JSONExportOptions> configurator)
Exports the ResultSet to a JSON.
sql(Consumer<SQLExportOptions> configurator)
Exports the SQL statements to add the ResultSet to a DB.

Constructor Detail

Ax.rs.Writer.JSResultSetWriter

Ax.rs.Writer.JSResultSetWriter(
	object rs
						)
Info:
Creates a new instance with a source ResultSet.
Parameters:
rs - the source ResultSet

Example
Copy
var rs = Ax.db.executeQuery("SELECT * FROM systables");

 let rs_writer = new Ax.rs.Writer(rs);

Method Detail

Ax.rs.Writer.csv

resultset Ax.rs.Writer.csv(
	file file
)
Info:
Exports the ResultSet to a File in CSV format.
Parameters:
file - the destination file
Returns:
resultset

Ax.rs.Writer.csv

resultset Ax.rs.Writer.csv(
	object out
)
Info:
Exports the ResultSet to an OutputStream in CSV format.
Parameters:
out - the destination OutputStream
Returns:
resultset

Ax.rs.Writer.csv

resultset Ax.rs.Writer.csv(
	object configurator
)
Info:
Exports the ResultSet to a File in CSV format.
Parameters:
configurator - the export configuration function
Returns:
resultset

Example
Copy
var rs = Ax.db.executeQuery("SELECT * FROM systables");

 var blob = new Ax.sql.Blob("systables.csv");
 new Ax.rs.Writer(rs).csv(options => {
     options.setFile("/tmp/systables_file.csv");

     options.setResource(blob);

     // Add a header for Excel to allow it recognises file as CSV
     options.setHeaderText("sep=" + options.getDelimiter());

     // Wire logger to console logger to see writer debug
     options.setLogger(console.getLogger());
 });

Ax.rs.Writer.db

resultset Ax.rs.Writer.db(
	object configurator
)
Info:
Exports the ResultSet to a DataBase.
Parameters:
configurator - the export configuration finction
Returns:
resultset

Example
Copy
var rs1 = rs_writer.db(options => {
     options.setLogger(console.getLogger());
     options.setConnection(Ax.db.getObject());
 	   options.setTableName("antibiotics");
 	   options.setTableCreate(true);
     options.setTablePrimaryKey("pk_antibiotics", "bacteria");
 }
 );

Ax.rs.Writer.dbf

resultset Ax.rs.Writer.dbf(
	file file
)
Info:
Exports the ResultSet to a File in CSV format.
Parameters:
file - the destination file
Returns:
resultset

Ax.rs.Writer.dbf

resultset Ax.rs.Writer.dbf(
	object out
)
Info:
Exports the ResultSet to an OutputStream in CSV format.
Parameters:
out - the destination OutputStream
Returns:
resultset

Ax.rs.Writer.dbf

resultset Ax.rs.Writer.dbf(
	object configurator
)
Info:
Exports the ResultSet to a File in CSV format.
Parameters:
configurator - the export configuration function
Returns:
resultset

Example
Copy
var rs = Ax.db.executeQuery("SELECT * FROM systables");

 var blob = new Ax.sql.Blob("systables.csv");
 new Ax.rs.Writer(rs).csv(options => {
     options.setFile("/tmp/systables_file.csv");

     options.setResource(blob);

     // Add a header for Excel to allow it recognises file as CSV
     options.setHeaderText("sep=" + options.getDelimiter());

     // Wire logger to console logger to see writer debug
     options.setLogger(console.getLogger());
 });

Ax.rs.Writer.excel

resultset Ax.rs.Writer.excel(
	file file
)
Info:
Exports the ResultSet to a File in Excel format.
Parameters:
file - the destination file
Returns:
resultset

Ax.rs.Writer.excel

resultset Ax.rs.Writer.excel(
	object out
)
Info:
Exports the ResultSet to an OutputStream in Excel format.
Parameters:
out - the destination OutputStream
Returns:
resultset

Ax.rs.Writer.excel

resultset Ax.rs.Writer.excel(
	object configurator
)
Info:
Exports the ResultSet to a File in Excel format.
Parameters:
configurator - the export configuration function
Returns:
resultset

Example
Copy
var rs = Ax.db.executeQuery("SELECT * FROM systables");

 var blob = new Ax.sql.Blob("systables.xls");
 new Ax.rs.Writer(rs).excel(options => {
 options.setResource(blob);
 });

Ax.rs.Writer.getStatistics

object Ax.rs.Writer.getStatistics()
Info:
The write/export statistics (# rows inserted, updated, errors, excluded) which is specially needed when RsultSet is exported to a DB with db().
Returns:
object

Ax.rs.Writer.json

resultset Ax.rs.Writer.json(
	object configurator
)
Info:
Exports the ResultSet to a JSON.
Parameters:
configurator - the export configuration function
Returns:
resultset

Example
Copy
var blob = new Ax.sql.Blob("systables.json");
 var rs = Ax.db.executeQuery("SELECT tabid, tabname, nrows, npused FROM systables WHERE tabid < 5");
 new Ax.rs.Writer(rs).json(options => {
 		options.setLogger(console.getLogger());
 		options.setPrettyPrint(true);
 		options.setResource(blob);
 });

Ax.rs.Writer.sql

resultset Ax.rs.Writer.sql(
	object configurator
)
Info:
Exports the SQL statements to add the ResultSet to a DB.
Parameters:
configurator - the export configuration function
Returns:
resultset

Example
Copy
var rs = dbsrc.executeQuery("SELECT FIRST 4 * FROM sysusers");

 var blob = new Ax.sql.Blob("tmp");
 new Ax.rs.Writer(rs).sql(options => {
 		options.setTableName("sysusers");
 		options.setResource(blob);
 	}
 );

6 DataFrame

Class Ax.rs.DataFrame


Constructor Summary

Method
Description
SQLResultSetDataFrame(Ax.text.String keyName, Object[] rows, String[] cols, Ax.sql.Type dataType)

Method Summary

Modifier and Type
Method
Description
boolean 
absolute(int row)
JDBC 2.
boolean 
void 
Add a table constraint (involving multiple columns).
void 
addRenderErrorMessage(Ax.text.String msg)
Some operations may log an error.
void 
void 
May be override by memory implementations
void 
JDBC 2.
void 
JDBC 2.
boolean 
belongsToFirstNonGroupColumn(int columnIndex)
Returns if a column is the first after the last group.
void 
JDBC 2.
void 
clear()
Clear the rows from underlying store (ArrayList|MemoryMappedFile)
void 
Clear the chain of warnings.
clone()
Useful when used from js.
void 
close()
Provides a method to close a ResultSet
cols()
void 
Remove the row at position
void 
The delete current row implementation used mainly by vtable
void 
deleteRow(int position)
Remove the row at position
int 
Compatibility method for javascript
int 
Delete the current row with given map of column/value pairs
void 
ensureMetaDataSize(int columns)
void 
eval(Ax.text.String expression)
Evaluates and expression
boolean 
evalBoolean(Ax.text.String expression)
int 
findColumn(Ax.text.String columnLabel)
Given a column name, this method returns the column number for that name using ExtendedResultSetMetaData findColumn implementation for ignoreCase search
boolean 
first()
JDBC 2.
fixScale(List<Integer> colscale)
fixScale(int[] colscale)
Ax.text.String 
format(Object obj)
Helper to access locale formatter to format arbitrary objects according ResultSet locale
getArray(Ax.text.String colName)
JDBC 2.
getArray(int i)
JDBC 2.
getAsciiStream(Ax.text.String columnName)
This is unsupported, but we'll try to call the corresponding call by column index.
getAsciiStream(int column)
getAttribute(Ax.text.String name)
Ax.java.math.BigDecimal 
getBigDecimal(int column, int scale)
Return a column as a BigDecimal object
Ax.java.math.BigDecimal 
getBigDecimal(Ax.text.String columnName,int scale)
Get the value of a named column as a BigDecimal object
Ax.java.math.BigDecimal 
getBigDecimal(int column)
JDBC 2.
Ax.java.math.BigDecimal 
getBigDecimal(Ax.text.String columnName)
JDBC 2.
getBinaryStream(Ax.text.String columnName)
This is unsupported, but we'll try to call the corresponding call by column index.
getBinaryStream(int column)
Blob 
getBlob(Ax.text.String colName)
JDBC 2.
Blob 
getBlob(int column)
JDBC 2.
boolean 
getBoolean(int column)
Get the value of a column in the current row as boolean
boolean 
getBoolean(Ax.text.String columnName)
Get the value of a boolean column in the current row
byte 
getByte(int column)
Get the value of a column in the current row as a Java byte.
byte 
getByte(Ax.text.String columnName)
Returns the column as a byte based on column name
byte[] 
getBytes(int column)
Get the value of a column in the current row as a Java byte array.
byte[] 
getBytes(Ax.text.String columnName)
Get the value of a named column as a byte array
int 
getCellGroup(int columnIndex)
getCharacterStream(int columnIndex)
JDBC 2.
getCharacterStream(Ax.text.String columnName)
JDBC 2.
List 
Clob 
getClob(Ax.text.String colName)
JDBC 2.
Clob 
getClob(int column)
JDBC 2.
getColumnAlign(int columnIndex)
boolean 
getColumnCheckBoxValue(int columnIndex)
getColumnColorValue(int columnIndex)
getColumnFontStyle(int columnIndex)
Ax.text.String 
getColumnHref(Ax.text.String colname)
getColumnHyperLink(int columnIndex)
Obtains the first matching link applicable to the current row and the specific column.
getColumnHyperLinks(int rowIndex, int columnIndex)
Obtains all the links applicable to the provided row and the specific column.
getColumnHyperLinks(int columnIndex)
Obtains all the links applicable to the current row and the specific column.
byte[] 
getColumnIcon(int columnIndex)
Return the icon that matches resultset tuple column value
int 
getColumnSpan(int columnIndex)
getColumnStruct(int columnIndex)
getColumnTrendStyle(int columnIndex)
int 
JDBC 2.
Ax.text.String 
Get the name of the cursor corresponding to this result set.
getDataColorizer(int columnIndex)
Date 
getDate(int column)
Get the value of a column in the current row as a java.
Date 
getDate(Ax.text.String columnName)
Get a named column as a java.
Date 
getDate(int columnIndex,Calendar cal)
JDBC 2.
Date 
getDate(Ax.text.String columnName, Calendar cal)
Gets the value of a column in the current row as a java.
double 
getDouble(int column)
Return a column as a double
double 
getDouble(Ax.text.String columnName)
Get the double value of a named column
Return the totals BitSet for JSON serializers
int 
JDBC 2.
int 
JDBC 2.
float 
getFloat(int column)
Return a column as a float.
float 
getFloat(Ax.text.String columnName)
Get the float value of a column by name
int 
int 
int 
getInt(int column)
Retrieve a column from the current row as an int
int 
getInt(Ax.text.String columnName)
Get the integer value of a column by name
Ax.text.String 
getLocalizedColumnStringValue(IJDBCPoolFactory pool, Ax.text.String columnName)
MIMICS TextColumnPrinter.
Ax.text.String 
MIMICS TextColumnPrinter.
Ax.text.String 
getLocalizedColumnStringValue(IJDBCPoolFactory pool, LocaleFormatter formatter, int columnIndex)
MIMICS TextColumnPrinter.
Ax.text.String 
getLocalizedColumnStringValue(IJDBCPoolFactory pool,LocaleFormatter formatter,int columnIndex,boolean ungroup)
MIMICS TextColumnPrinter.
long 
getLong(int column)
Get the value of a column in the current row as a long
long 
getLong(Ax.text.String columnName)
Get the long value of a column by name
Returns a ResultSetMetaData object for this result set
getNCharacterStream(int columnIndex)
getNCharacterStream(Ax.text.String columnLabel)
getNClob(int columnIndex)
getNClob(Ax.text.String columnLabel)
Ax.text.String 
getNString(int columnIndex)
Ax.text.String 
getNString(Ax.text.String columnLabel)
getObject(int columnIndex)
Retrieves data as objects
getObject(Ax.text.String columnName)
Get the value of a named column as an object
getObject(int i,Map<StringClass> map)
JDBC 2.
getObject(int columnIndex, Class<T> type)
getObject(Ax.text.String columnLabel,Class<T> type)
getObject(Ax.text.String colName, Map<StringClass> map)
JDBC 2.
int 
int 
Ref 
getRef(int i)
JDBC 2.
Ref 
getRef(Ax.text.String colName)
JDBC 2.
List 
The expression evaluator for colors or styles may fail when evaluating the expression on the row.
List 
int 
getRow()
JDBC 2.
int 
"final" makes this function invisible to Nashorn JavaScript.
int 
Ax.text.String 
getRowId(int columnIndex)
getRowId(Ax.text.String columnLabel)
List 
Rows can only be accessed if ResultSet is modificable.
getSQLXML(int columnIndex)
getSQLXML(Ax.text.String columnLabel)
List 
short 
getShort(int column)
Get the value of a column in the current row as a short.
short 
getShort(Ax.text.String columnName)
Get the value of a short by column name
Ax.text.String 
JDBC 2.
The type of store (ArrayListStore, MemoryMappedListStore)
File 
Ax.text.String 
getString(int columnIndex)
Gets the value of a column (by index) as a String.
Ax.text.String 
getString(Ax.text.String columnName)
Return the String value of a column given its name, rather than its index.
Time 
getTime(int column)
Get the value of a column in the current row as a java.
Time 
getTime(Ax.text.String columnName)
Get a named column as a java.
Time 
getTime(int columnIndex, Calendar cal)
Gets the value of a column in the current row as a java.
Time 
getTime(Ax.text.String columnName,Calendar cal)
Gets the value of a column in the current row as a java.
getTimestamp(int column)
Get the value of a column in the current row as a java.
getTimestamp(Ax.text.String columnName)
Get a named column as a java.
getTimestamp(int columnIndex, Calendar cal)
Gets the value of a column in the current row as a java.
getTimestamp(Ax.text.String columnName,Calendar cal)
Gets the value of a column in the current row as a java.
Ax.text.String 
Return the totals BitSet for JSON serializers
int 
JDBC 2.
URL 
getURL(int columnIndex)
Retrieves the value of the designated column in the current row of this
URL 
getURL(Ax.text.String columnLabel)
Retrieves the value of the designated column in the current row of this
getUnicodeStream(Ax.text.String columnName)
This is unsupported, but we'll try to call the corresponding call by column index.
getUnicodeStream(int column)
This is not currently supported.
Return the warning chain.
boolean 
boolean 
boolean 
void 
Inserts a new row with given map of column/value pairs
void 
insertRow(Object[] data, int position)
Inserts a new row with given array pairs af position
void 
Inserts a new row with given map of column/value pairs
void 
insertRow(Map<StringObject> data, int position)
Inserts a new row with given map of column/value pairs
void 
JDBC 2.
boolean 
JDBC 2.
boolean 
JDBC 2.
boolean 
JDBC 2.
boolean 
isCellGroup(int columnIndex)
boolean 
isCellGroupTotal(int columnIndex)
boolean 
isCellNull(int columnIndex)
boolean 
INTERFACE java.
boolean 
isColumnCheckBox(int columnIndex)
A field can be boolean if: 1.
boolean 
isColumnRightAligned(int columnIndex)
boolean 
isColumnStruct(int columnIndex)
boolean 
isEmptyRow(int row)
Return if a row is total
boolean 
JDBC 2.
boolean 
isFirstColumnOfGroup(int columnIndex)
boolean 
isFirstNonGroupColumn(int columnIndex)
Returns if a column is the first after the last group.
boolean 
isLast()
JDBC 2.
boolean 
isNew()
Returns if a RS is new or not.
boolean 
isOpen()
boolean 
boolean 
Checks if current row contains groups (not totals)
boolean 
Return if a row is total
boolean 
isTotalRow(int rowIndex)
Return if a row is total
boolean 
boolean 
Can not be final cause MemoryResultSet has an specific override
boolean 
last()
JDBC 2.
void 
lock()
Acquires the lock.
void 
JDBC 2.
void 
JDBC 2.
boolean 
next()
Advance to the next row in the result set.
boolean 
JDBC 2.
void 
JDBC 2.
boolean 
relative(int offset)
JDBC 2.
boolean 
JDBC 2.
boolean 
JDBC 2.
boolean 
JDBC 2.
rows()
boolean 
search(String[] colnames,Object[] columnValues)
boolean 
search(int[] columnIndexes, Object[] columnValues)
void 
setAttribute(Ax.text.String name,Object value)
void 
void 
JSResultSet is mandatory on automatically close non scrollable ResultSet's once consumed.
void 
setColumnHref(Ax.text.String colname, Ax.text.String hrefPattern)
void 
setCursorName(Ax.text.String cursorName)
void 
setDataColorizer(Ax.text.String colname, ColorizerAlgorithm algorithm, int[] colors, boolean gradient)
void 
setDataColorizer(Ax.text.String colname,Ax.text.String algorithm,int[] colors,boolean gradient)
void 
setDataColorizer(String[] colnames, Ax.text.String algorithm, int[] colors, boolean gradient)
void 
setDataColorizer(String[] colnames,ColorizerAlgorithm algorithm,int[] colors,boolean gradient)
void 
int 
setDouble(Object keyValue,Ax.text.String colname,double value)
void 
Setup the empty bitmap from another (cloned) ResultSet
void 
setEmptyRow(int row)
Return if a row is total
void 
setFetchDirection(int direction)
JDBC 2.
void 
setFetchSize(int rows)
JDBC 2.
Disconnect normal close operation.
void 
setObject(int columnIndex,Object value)
void 
Called from Pivot to setup the pivot information in this resultset
void 
Allows caches protect master instances from being modified accidentally
void 
void 
setSimpleDataColorizer(boolean gradient)
TODO: Have an automatic colorizer like iofnet Set the colorizer for all numeric columns
void 
setSort(Ax.text.String sort)
Sort function will setup the sort string in SQL syntax
setTableName(Ax.text.String tableName,String[] columns)
setTitle(Ax.text.String title)
May be override to allow appropriate class return
void 
Setup the total bitmap from another (cloned) ResultSet
void 
setTotalRow(int rowIndex)
void 
setTruncated(boolean hasMore)
void 
void 
Mark as NOT new from ResultSetHolder.
Performs a sort but grouping by columns
sortByColumnsGroupBy(String[] columns,String[] groupColumns)
Performs a sort but grouping by columns
stream()
TupleStream is a Stream
List 
List 
toArray(Ax.text.String columnName)
toForm(boolean addToolTipColumn)
Convert a single row into a row columns resultset to be represented as a form
List 
toMap()
toMapByKey(String[] columns)
Map 
When calling buttons or after field events actions in transaction manager we want to handle column names that are prefixed by a tablename as JSON objects.
toOne()
toOne(Ax.text.String errorMessageIfNotOne)
Ax.text.String 
SQLResultSet names have the form: SQLResultSet[3:2][0x0][/var/folders/7k/fryctpy563ngmfw2qhh1m5jc0000gn/T/axional/MemoryMappedListStore/@FoodMart/sql2172477787082695728.
void 
unlock()
Releases a lock
unwrap(Class<T> iface)
void 
updateArray(int columnIndex,Array x)
Updates the designated column with a
void 
updateArray(Ax.text.String columnLabel, Array x)
Updates the designated column with a
void 
updateAsciiStream(int columnIndex,InputStream x,int length)
JDBC 2.
void 
updateAsciiStream(Ax.text.String columnName, InputStream x, int length)
JDBC 2.
void 
updateAsciiStream(int columnIndex,InputStream x,long length)
void 
updateAsciiStream(int columnIndex, InputStream x)
void 
updateAsciiStream(Ax.text.String columnLabel,InputStream x,long length)
void 
updateAsciiStream(Ax.text.String columnLabel, InputStream x)
void 
updateBigDecimal(int columnIndex,Ax.java.math.BigDecimal x)
JDBC 2.
void 
updateBigDecimal(Ax.text.String columnName, Ax.java.math.BigDecimal x)
JDBC 2.
void 
updateBinaryStream(int columnIndex,InputStream x,int length)
JDBC 2.
void 
updateBinaryStream(Ax.text.String columnName, InputStream x, int length)
JDBC 2.
void 
updateBinaryStream(int columnIndex,InputStream x)
void 
updateBinaryStream(int columnIndex, InputStream x, long length)
void 
updateBinaryStream(Ax.text.String columnLabel,InputStream x)
void 
updateBinaryStream(Ax.text.String columnLabel, InputStream x, long length)
void 
updateBlob(int columnIndex,InputStream inputStream,long length)
void 
updateBlob(int columnIndex, InputStream inputStream)
void 
updateBlob(Ax.text.String columnLabel,InputStream inputStream,long length)
void 
updateBlob(Ax.text.String columnLabel, InputStream inputStream)
void 
updateBlob(int columnIndex,Blob x)
Updates the designated column with a
void 
updateBlob(Ax.text.String columnLabel, Blob x)
Updates the designated column with a
void 
updateBoolean(int columnIndex,boolean x)
JDBC 2.
void 
updateBoolean(Ax.text.String columnName, boolean x)
JDBC 2.
void 
updateByte(int columnIndex,byte x)
JDBC 2.
void 
updateByte(Ax.text.String columnName, byte x)
JDBC 2.
void 
updateBytes(int columnIndex,byte[] x)
JDBC 2.
void 
updateBytes(Ax.text.String columnName, byte[] x)
JDBC 2.
void 
updateCharacterStream(int columnIndex,Reader x,int length)
JDBC 2.
void 
updateCharacterStream(Ax.text.String columnName, Reader x, int length)
JDBC 2.
void 
updateCharacterStream(int columnIndex,Reader x,long length)
void 
updateCharacterStream(int columnIndex, Reader x)
void 
updateCharacterStream(Ax.text.String columnLabel,Reader reader,long length)
void 
updateCharacterStream(Ax.text.String columnLabel, Reader reader)
void 
updateClob(int columnIndex,Reader reader,long length)
void 
updateClob(int columnIndex, Reader reader)
void 
updateClob(Ax.text.String columnLabel,Reader reader,long length)
void 
updateClob(Ax.text.String columnLabel, Reader reader)
void 
updateClob(int columnIndex,Clob x)
Updates the designated column with a
void 
updateClob(Ax.text.String columnLabel, Clob x)
Updates the designated column with a
void 
updateDate(int columnIndex,Date x)
JDBC 2.
void 
updateDate(Ax.text.String columnName, Date x)
JDBC 2.
void 
updateDouble(int columnIndex,double x)
JDBC 2.
void 
updateDouble(Ax.text.String columnName, double x)
JDBC 2.
void 
updateFloat(int columnIndex,float x)
JDBC 2.
void 
updateFloat(Ax.text.String columnName, float x)
JDBC 2.
void 
updateInt(int columnIndex,int x)
JDBC 2.
void 
updateInt(Ax.text.String columnName, int x)
JDBC 2.
void 
updateLong(int columnIndex,long x)
JDBC 2.
void 
updateLong(Ax.text.String columnName, long x)
JDBC 2.
void 
updateNCharacterStream(int columnIndex,Reader x,long length)
void 
updateNCharacterStream(int columnIndex, Reader x)
void 
updateNCharacterStream(Ax.text.String columnLabel,Reader reader,long length)
void 
updateNCharacterStream(Ax.text.String columnLabel, Reader reader)
void 
updateNClob(int columnIndex,NClob nClob)
void 
updateNClob(Ax.text.String columnLabel, NClob nClob)
void 
updateNClob(int columnIndex,Reader reader,long length)
void 
updateNClob(int columnIndex, Reader reader)
void 
updateNClob(Ax.text.String columnLabel,Reader reader,long length)
void 
updateNClob(Ax.text.String columnLabel, Reader reader)
void 
updateNString(int columnIndex,Ax.text.String nString)
void 
updateNString(Ax.text.String columnLabel, Ax.text.String nString)
void 
updateNull(int columnIndex)
JDBC 2.
void 
updateNull(Ax.text.String columnName)
JDBC 2.
void 
updateObject(int columnIndex,Object x,int scale)
JDBC 2.
void 
updateObject(int columnIndex, Object x)
JDBC 2.
void 
updateObject(Ax.text.String columnName,Object x,int scale)
JDBC 2.
void 
updateObject(Ax.text.String columnName, Object x)
JDBC 2.
void 
updateRef(int columnIndex,Ref x)
Updates the designated column with a
void 
updateRef(Ax.text.String columnLabel, Ref x)
Updates the designated column with a
void 
Updates the current row with given map of column/value pairs
int 
Compatibility method for javascript
void 
JDBC 2.
void 
updateRowId(int columnIndex, RowId x)
void 
updateRowId(Ax.text.String columnLabel,RowId x)
int 
Updates the current row with given map of column/value pairs
void 
updateSQLXML(int columnIndex,SQLXML xmlObject)
void 
updateSQLXML(Ax.text.String columnLabel, SQLXML xmlObject)
void 
updateShort(int columnIndex,short x)
JDBC 2.
void 
updateShort(Ax.text.String columnName, short x)
JDBC 2.
void 
updateString(int columnIndex,Ax.text.String x)
JDBC 2.
void 
updateString(Ax.text.String columnName, Ax.text.String x)
JDBC 2.
void 
updateTime(int columnIndex,Time x)
JDBC 2.
void 
updateTime(Ax.text.String columnName, Time x)
JDBC 2.
void 
updateTimestamp(int columnIndex,Timestamp x)
JDBC 2.
void 
updateTimestamp(Ax.text.String columnName, Timestamp x)
JDBC 2.
boolean 
Returns whether or not the last column read was null.
writer()

Constructor Detail

Ax.rs.DataFrame.SQLResultSetDataFrame

Ax.rs.DataFrame.SQLResultSetDataFrame(
	string keyName,
	object[] rows,
	string[] cols,
	object dataType
						)
Parameters:
keyName - 
rows - 
cols - 
dataType - 

Method Detail

Ax.rs.DataFrame.absolute

boolean Ax.rs.DataFrame.absolute(
	smallint row
)
Info:
JDBC 2.0
Parameters:
row - 
Returns:
boolean

Example
Copy
Moves the cursor to the given row number in the result set.

 
 If the row number is positive, the cursor moves to the given row number with respect to the beginning of the result set.
 The first row is row 1, the second is row 2, and so on.

 
 If the given row number is negative, the cursor moves to an absolute row position with respect to the end of the result
 set. For example, calling absolute(-1)
Example
Copy
absolute(-2)
Example
Copy
An attempt to position the cursor beyond the first/last row in the result set leaves the cursor before/after the
 first/last row, respectively.

 
 Note: Calling absolute(1)
Example
Copy
first()
Example
Copy
absolute(-1)
Example
Copy
last()

Ax.rs.DataFrame.absoluteClose

boolean Ax.rs.DataFrame.absoluteClose()
Returns:
boolean

Ax.rs.DataFrame.addCheckConstraint

null Ax.rs.DataFrame.addCheckConstraint(
	object constraint
)
Info:
Add a table constraint (involving multiple columns). Single column constraints are stored in ResultSet column metadata
Parameters:
constraint - 
Returns:
null

Ax.rs.DataFrame.addRenderErrorMessage

null Ax.rs.DataFrame.addRenderErrorMessage(
	string msg
)
Info:
Some operations may log an error. For example, apply a colorizer on on scrollable ResultSets.
Parameters:
msg - 
Returns:
null

Ax.rs.DataFrame.addResult

null Ax.rs.DataFrame.addResult(
	resultset rs
)
Parameters:
rs - 
Returns:
null

Ax.rs.DataFrame.afterLast

null Ax.rs.DataFrame.afterLast()
Info:
May be override by memory implementations
Returns:
null

Ax.rs.DataFrame.afterLast

null Ax.rs.DataFrame.afterLast()
Info:
JDBC 2.0 Moves cursor beyond last position May be override by memory implementations
Returns:
null

Ax.rs.DataFrame.beforeFirst

null Ax.rs.DataFrame.beforeFirst()
Info:
JDBC 2.0
Returns:
null

Ax.rs.DataFrame.belongsToFirstNonGroupColumn

boolean Ax.rs.DataFrame.belongsToFirstNonGroupColumn(
	smallint columnIndex
)
Info:
Returns if a column is the first after the last group.
Parameters:
columnIndex - 
Returns:
boolean

Ax.rs.DataFrame.cancelRowUpdates

null Ax.rs.DataFrame.cancelRowUpdates()
Info:
JDBC 2.0 Cancels the updates made to a row. This method may be called after calling an
Returns:
null

Example
Copy
updateXXX
Example
Copy
updateRow
Example
Copy
updateRow

Ax.rs.DataFrame.clear

null Ax.rs.DataFrame.clear()
Info:
Clear the rows from underlying store (ArrayList|MemoryMappedFile)
Returns:
null

Ax.rs.DataFrame.clearWarnings

null Ax.rs.DataFrame.clearWarnings()
Info:
Clear the chain of warnings. This does nothing, since the warning chain is not used by memory cursors
Returns:
null

Ax.rs.DataFrame.clone

resultset Ax.rs.DataFrame.clone()
Info:
Useful when used from js.
Returns:
resultset

Ax.rs.DataFrame.close

null Ax.rs.DataFrame.close()
Info:
Provides a method to close a ResultSet
Returns:
null

Ax.rs.DataFrame.cols

object Ax.rs.DataFrame.cols()
Returns:
object

Ax.rs.DataFrame.deleteLastRow

null Ax.rs.DataFrame.deleteLastRow()
Info:
Remove the row at position
Returns:
null

Ax.rs.DataFrame.deleteRow

null Ax.rs.DataFrame.deleteRow()
Info:
The delete current row implementation used mainly by vtable
Returns:
null

Ax.rs.DataFrame.deleteRow

null Ax.rs.DataFrame.deleteRow(
	smallint position
)
Info:
Remove the row at position
Parameters:
position - 
Returns:
null

Ax.rs.DataFrame.deleteRow

smallint Ax.rs.DataFrame.deleteRow(
	object keys
)
Info:
Compatibility method for javascript
Parameters:
keys - 
Returns:
smallint

Ax.rs.DataFrame.deleteRows

smallint Ax.rs.DataFrame.deleteRows(
	object keys
)
Info:
Delete the current row with given map of column/value pairs
Parameters:
keys - 
Returns:
smallint

Ax.rs.DataFrame.ensureMetaDataSize

null Ax.rs.DataFrame.ensureMetaDataSize(
	smallint columns
)
Parameters:
columns - 
Returns:
null

Ax.rs.DataFrame.ensureRowColumnsMatch

null Ax.rs.DataFrame.ensureRowColumnsMatch(
	object[] data
)
Parameters:
data - 
Returns:
null

Ax.rs.DataFrame.eval

object Ax.rs.DataFrame.eval(
	string expression
)
Info:
Evaluates and expression
Parameters:
expression - 
Returns:
object

Ax.rs.DataFrame.evalBoolean

boolean Ax.rs.DataFrame.evalBoolean(
	string expression
)
Parameters:
expression - 
Returns:
boolean

Ax.rs.DataFrame.findColumn

smallint Ax.rs.DataFrame.findColumn(
	string columnLabel
)
Info:
Given a column name, this method returns the column number for that name using ExtendedResultSetMetaData findColumn implementation for ignoreCase search
Parameters:
columnLabel - the name of the column desired
Returns:
smallint

Ax.rs.DataFrame.first

boolean Ax.rs.DataFrame.first()
Info:
JDBC 2.0
Returns:
boolean

Ax.rs.DataFrame.firstOne

object Ax.rs.DataFrame.firstOne()
Returns:
object

Ax.rs.DataFrame.fixScale

object Ax.rs.DataFrame.fixScale(
	array colscale
)
Parameters:
colscale - 
Returns:
object

Ax.rs.DataFrame.fixScale

object Ax.rs.DataFrame.fixScale(
	object colscale
)
Parameters:
colscale - 
Returns:
object

Ax.rs.DataFrame.format

string Ax.rs.DataFrame.format(
	object obj
)
Info:
Helper to access locale formatter to format arbitrary objects according ResultSet locale
Parameters:
obj - 
Returns:
string

Ax.rs.DataFrame.getArray

object Ax.rs.DataFrame.getArray(
	string colName
)
Info:
JDBC 2.0 Gets an SQL ARRAY value in the current row of this
Parameters:
colName - the name of the column from which to retrieve the value
Returns:
object

Example
Copy
ResultSet
Example
Copy
Array

Ax.rs.DataFrame.getArray

object Ax.rs.DataFrame.getArray(
	smallint i
)
Info:
JDBC 2.0 Gets an SQL ARRAY value from the current row of this
Parameters:
i - the first column is 1, the second is 2, ...
Returns:
object

Example
Copy
ResultSet
Example
Copy
Array

Ax.rs.DataFrame.getAsciiStream

object Ax.rs.DataFrame.getAsciiStream(
	string columnName
)
Info:
This is unsupported, but we'll try to call the corresponding call by column index.
Parameters:
columnName - 
Returns:
object

Ax.rs.DataFrame.getAsciiStream

object Ax.rs.DataFrame.getAsciiStream(
	smallint column
)
Parameters:
column - 
Returns:
object

Ax.rs.DataFrame.getAttribute

object Ax.rs.DataFrame.getAttribute(
	string name
)
Parameters:
name - 
Returns:
object

Ax.rs.DataFrame.getAttributes

object Ax.rs.DataFrame.getAttributes()
Returns:
object

Ax.rs.DataFrame.getBigDecimal

object Ax.rs.DataFrame.getBigDecimal(
	smallint column,
	smallint scale
)
Info:
Return a column as a BigDecimal object
Parameters:
column - the column being retrieved
scale - the number of digits to the right of the decimal
Returns:
object

Ax.rs.DataFrame.getBigDecimal

object Ax.rs.DataFrame.getBigDecimal(
	string columnName,
	smallint scale
)
Info:
Get the value of a named column as a BigDecimal object
Parameters:
columnName - is the SQL name of the column
scale - 
Returns:
object

Ax.rs.DataFrame.getBigDecimal

object Ax.rs.DataFrame.getBigDecimal(
	smallint column
)
Info:
JDBC 2.0 Gets the value of a column in the current row as a java.math.BigDecimal object with full precision.
Parameters:
column - 
Returns:
object

Ax.rs.DataFrame.getBigDecimal

object Ax.rs.DataFrame.getBigDecimal(
	string columnName
)
Info:
JDBC 2.0 Gets the value of a column in the current row as a java.math.BigDecimal object with full precision.
Parameters:
columnName - the column name
Returns:
object

Ax.rs.DataFrame.getBinaryStream

object Ax.rs.DataFrame.getBinaryStream(
	string columnName
)
Info:
This is unsupported, but we'll try to call the corresponding call by column index.
Parameters:
columnName - 
Returns:
object

Ax.rs.DataFrame.getBinaryStream

object Ax.rs.DataFrame.getBinaryStream(
	smallint column
)
Parameters:
column - 
Returns:
object

Ax.rs.DataFrame.getBlob

object Ax.rs.DataFrame.getBlob(
	string colName
)
Info:
JDBC 2.0 Gets a BLOB value in the current row of this
Parameters:
colName - the name of the column from which to retrieve the value
Returns:
object

Example
Copy
ResultSet
Example
Copy
Blob

Ax.rs.DataFrame.getBlob

object Ax.rs.DataFrame.getBlob(
	smallint column
)
Info:
JDBC 2.0 Gets a BLOB value in the current row of this
Parameters:
column - 
Returns:
object

Example
Copy
ResultSet
Example
Copy
Blob

Ax.rs.DataFrame.getBoolean

boolean Ax.rs.DataFrame.getBoolean(
	smallint column
)
Info:
Get the value of a column in the current row as boolean
Parameters:
column - the column index
Returns:
boolean

Ax.rs.DataFrame.getBoolean

boolean Ax.rs.DataFrame.getBoolean(
	string columnName
)
Info:
Get the value of a boolean column in the current row
Parameters:
columnName - is the SQL name of the column
Returns:
boolean

Ax.rs.DataFrame.getByte

object Ax.rs.DataFrame.getByte(
	smallint column
)
Info:
Get the value of a column in the current row as a Java byte.
Parameters:
column - 
Returns:
object

Ax.rs.DataFrame.getByte

object Ax.rs.DataFrame.getByte(
	string columnName
)
Info:
Returns the column as a byte based on column name
Parameters:
columnName - 
Returns:
object

Ax.rs.DataFrame.getBytes

byte[] Ax.rs.DataFrame.getBytes(
	smallint column
)
Info:
Get the value of a column in the current row as a Java byte array.
Parameters:
column - the column being retrieved
Returns:
byte[]

Ax.rs.DataFrame.getBytes

byte[] Ax.rs.DataFrame.getBytes(
	string columnName
)
Info:
Get the value of a named column as a byte array
Parameters:
columnName - is the SQL name of the column
Returns:
byte[]

Ax.rs.DataFrame.getCellGroup

smallint Ax.rs.DataFrame.getCellGroup(
	smallint columnIndex
)
Parameters:
columnIndex - the JDBC columnIndex starting at 1
Returns:
smallint

Ax.rs.DataFrame.getCharacterStream

object Ax.rs.DataFrame.getCharacterStream(
	smallint columnIndex
)
Info:
JDBC 2.0
Parameters:
columnIndex - the first column is 1, the second is 2, ...
Returns:
object

Ax.rs.DataFrame.getCharacterStream

object Ax.rs.DataFrame.getCharacterStream(
	string columnName
)
Info:
JDBC 2.0
Parameters:
columnName - the name of the column
Returns:
object

Example
Copy
Gets the value of a column in the current row as a java.io.Reader.the name of the columnthe value in the specified column as a java.io.Reader

Ax.rs.DataFrame.getCheckConstraints

array Ax.rs.DataFrame.getCheckConstraints()
Returns:
array

Ax.rs.DataFrame.getClob

object Ax.rs.DataFrame.getClob(
	string colName
)
Info:
JDBC 2.0 Gets a CLOB value in the current row of this
Parameters:
colName - the name of the column from which to retrieve the value
Returns:
object

Example
Copy
ResultSet
Example
Copy
Clob

Ax.rs.DataFrame.getClob

object Ax.rs.DataFrame.getClob(
	smallint column
)
Info:
JDBC 2.0 Gets a CLOB value in the current row of this
Parameters:
column - 
Returns:
object

Example
Copy
ResultSet
Example
Copy
Clob

Ax.rs.DataFrame.getColumnAlign

object Ax.rs.DataFrame.getColumnAlign(
	smallint columnIndex
)
Parameters:
columnIndex - 
Returns:
object

Ax.rs.DataFrame.getColumnCheckBoxValue

boolean Ax.rs.DataFrame.getColumnCheckBoxValue(
	smallint columnIndex
)
Parameters:
columnIndex - 
Returns:
boolean

Ax.rs.DataFrame.getColumnColorValue

string[] Ax.rs.DataFrame.getColumnColorValue(
	smallint columnIndex
)
Parameters:
columnIndex - 
Returns:
string[]

Ax.rs.DataFrame.getColumnFontStyle

object Ax.rs.DataFrame.getColumnFontStyle(
	smallint columnIndex
)
Parameters:
columnIndex - 
Returns:
object

Ax.rs.DataFrame.getColumnHref

string Ax.rs.DataFrame.getColumnHref(
	string colname
)
Parameters:
colname - 
Returns:
string

Ax.rs.DataFrame.getColumnHyperLink

object Ax.rs.DataFrame.getColumnHyperLink(
	smallint columnIndex
)
Info:
Obtains the first matching link applicable to the current row and the specific column.
Parameters:
columnIndex - 
Returns:
object

Ax.rs.DataFrame.getColumnHyperLinks

object Ax.rs.DataFrame.getColumnHyperLinks(
	smallint rowIndex,
	smallint columnIndex
)
Info:
Obtains all the links applicable to the provided row and the specific column. This method is called from SWING UI and requires ResultSet to be correctly positiond before parsing the link. Generally only one link is applicable to a cell, that is the case of PDF or common HTML. But some custom implementations might allow having more than one link per cell; for example, Studio Reports. In that case, all the matching links are needed.
Parameters:
rowIndex - the jdbc row index
columnIndex - the jdbc column index
Returns:
object

Ax.rs.DataFrame.getColumnHyperLinks

object Ax.rs.DataFrame.getColumnHyperLinks(
	smallint columnIndex
)
Info:
Obtains all the links applicable to the current row and the specific column. This method is called directly from HTMLTableBody.java render using the rs.next() iterator loop. So we can expect we are on correct link positio.
Parameters:
columnIndex - the jdbc column index
Returns:
object

Ax.rs.DataFrame.getColumnIcon

byte[] Ax.rs.DataFrame.getColumnIcon(
	smallint columnIndex
)
Info:
Return the icon that matches resultset tuple column value
Parameters:
columnIndex - 
Returns:
byte[]

Ax.rs.DataFrame.getColumnSpan

smallint Ax.rs.DataFrame.getColumnSpan(
	smallint columnIndex
)
Parameters:
columnIndex - 
Returns:
smallint

Ax.rs.DataFrame.getColumnStruct

object Ax.rs.DataFrame.getColumnStruct(
	smallint columnIndex
)
Parameters:
columnIndex - 
Returns:
object

Ax.rs.DataFrame.getColumnTrendStyle

object Ax.rs.DataFrame.getColumnTrendStyle(
	smallint columnIndex
)
Parameters:
columnIndex - 
Returns:
object

Ax.rs.DataFrame.getConcurrency

smallint Ax.rs.DataFrame.getConcurrency()
Info:
JDBC 2.0 Returns the concurrency mode of this result set. The concurrency used is determined by the statement that created the result set.
Returns:
smallint

Ax.rs.DataFrame.getCursorName

string Ax.rs.DataFrame.getCursorName()
Info:
Get the name of the cursor corresponding to this result set. If can be used in clients (Swing) to use it as a key for persistence of window location, hidden columns, etc.
Returns:
string

Ax.rs.DataFrame.getDataColorizer

object Ax.rs.DataFrame.getDataColorizer(
	smallint columnIndex
)
Parameters:
columnIndex - 
Returns:
object

Ax.rs.DataFrame.getDate

date Ax.rs.DataFrame.getDate(
	smallint column
)
Info:
Get the value of a column in the current row as a java.sql.Date object.
Parameters:
column - the column being retrieved
Returns:
date

Ax.rs.DataFrame.getDate

date Ax.rs.DataFrame.getDate(
	string columnName
)
Info:
Get a named column as a java.sql.Date
Parameters:
columnName - is the SQL name of the column
Returns:
date

Ax.rs.DataFrame.getDate

date Ax.rs.DataFrame.getDate(
	smallint columnIndex,
	object cal
)
Info:
JDBC 2.0 Gets the value of a column in the current row as a java.sql.Date object. This method uses the given calendar to construct an appropriate millisecond value for the Date if the underlying database does not store timezone information.
Parameters:
columnIndex - the first column is 1, the second is 2, ...
cal - the calendar to use in constructing the date
Returns:
date

Ax.rs.DataFrame.getDate

date Ax.rs.DataFrame.getDate(
	string columnName,
	object cal
)
Info:
Gets the value of a column in the current row as a java.sql.Date object. This method uses the given calendar to construct an appropriate millisecond value for the Date, if the underlying database does not store timezone information.
Parameters:
columnName - the SQL name of the column from which to retrieve the value
cal - the calendar to use in constructing the date
Returns:
date

Ax.rs.DataFrame.getDouble

double Ax.rs.DataFrame.getDouble(
	smallint column
)
Info:
Return a column as a double
Parameters:
column - the column being retrieved
Returns:
double

Ax.rs.DataFrame.getDouble

double Ax.rs.DataFrame.getDouble(
	string columnName
)
Info:
Get the double value of a named column
Parameters:
columnName - is the SQL name of the column
Returns:
double

Ax.rs.DataFrame.getEmptyBitSet

object Ax.rs.DataFrame.getEmptyBitSet()
Info:
Return the totals BitSet for JSON serializers
Returns:
object

Ax.rs.DataFrame.getEval

object Ax.rs.DataFrame.getEval()
Returns:
object

Ax.rs.DataFrame.getEvaluatorExceptions

array Ax.rs.DataFrame.getEvaluatorExceptions()
Returns:
array

Ax.rs.DataFrame.getFetchDirection

smallint Ax.rs.DataFrame.getFetchDirection()
Info:
JDBC 2.0 Returns the fetch direction for this result set.
Returns:
smallint

Ax.rs.DataFrame.getFetchSize

smallint Ax.rs.DataFrame.getFetchSize()
Info:
JDBC 2.0 Returns the fetch size for this result set.
Returns:
smallint

Ax.rs.DataFrame.getFloat

object Ax.rs.DataFrame.getFloat(
	smallint column
)
Info:
Return a column as a float.
Parameters:
column - the column being retrieved
Returns:
object

Ax.rs.DataFrame.getFloat

object Ax.rs.DataFrame.getFloat(
	string columnName
)
Info:
Get the float value of a column by name
Parameters:
columnName - is the SQL name of the column
Returns:
object

Ax.rs.DataFrame.getGroupCount

smallint Ax.rs.DataFrame.getGroupCount()
Returns:
smallint

Ax.rs.DataFrame.getHoldability

smallint Ax.rs.DataFrame.getHoldability()
Returns:
smallint

Ax.rs.DataFrame.getHyperlinkVariableResolver

object Ax.rs.DataFrame.getHyperlinkVariableResolver()
Returns:
object

Ax.rs.DataFrame.getInt

smallint Ax.rs.DataFrame.getInt(
	smallint column
)
Info:
Retrieve a column from the current row as an int
Parameters:
column - the column being retrieved
Returns:
smallint

Ax.rs.DataFrame.getInt

smallint Ax.rs.DataFrame.getInt(
	string columnName
)
Info:
Get the integer value of a column by name
Parameters:
columnName - is the SQL name of the column
Returns:
smallint

Ax.rs.DataFrame.getLocaleFormatter

object Ax.rs.DataFrame.getLocaleFormatter()
Returns:
object

Ax.rs.DataFrame.getLocalizedColumnFragmentValue

object Ax.rs.DataFrame.getLocalizedColumnFragmentValue(
	smallint columnIndex
)
Parameters:
columnIndex - 
Returns:
object

Ax.rs.DataFrame.getLocalizedColumnFragmentValue

object Ax.rs.DataFrame.getLocalizedColumnFragmentValue(
	object pool,
	smallint columnIndex
)
Parameters:
pool - 
columnIndex - 
Returns:
object

Ax.rs.DataFrame.getLocalizedColumnStringValue

string Ax.rs.DataFrame.getLocalizedColumnStringValue(
	object pool,
	string columnName
)
Info:
MIMICS TextColumnPrinter.toString()
Parameters:
pool - 
columnName - 
Returns:
string

Ax.rs.DataFrame.getLocalizedColumnStringValue

string Ax.rs.DataFrame.getLocalizedColumnStringValue(
	object pool,
	smallint columnIndex
)
Info:
MIMICS TextColumnPrinter.toString()
Parameters:
pool - 
columnIndex - 
Returns:
string

Ax.rs.DataFrame.getLocalizedColumnStringValue

string Ax.rs.DataFrame.getLocalizedColumnStringValue(
	object pool,
	object formatter,
	smallint columnIndex
)
Info:
MIMICS TextColumnPrinter.toString()
Parameters:
pool - 
formatter - 
columnIndex - 
Returns:
string

Ax.rs.DataFrame.getLocalizedColumnStringValue

string Ax.rs.DataFrame.getLocalizedColumnStringValue(
	object pool,
	object formatter,
	smallint columnIndex,
	boolean ungroup
)
Info:
MIMICS TextColumnPrinter.toString() 'Ungroup' option added to allow getting the localized value when RS has column grouping. Default behaviour is like method call with ungroup=false. Used with ungroup=true when generating Excel files from reports and the user requested with export flag "ungroup=true". In this case all rows should be emitted with their values (the clearing of groups with CellGroupNull instances is reverted by getting the underlying value of such 'null' cells). Used from Excel report export: ReportController # _printReportAsXLS
Parameters:
pool - 
formatter - 
columnIndex - 
ungroup - 
Returns:
string

Ax.rs.DataFrame.getLong

long Ax.rs.DataFrame.getLong(
	smallint column
)
Info:
Get the value of a column in the current row as a long
Parameters:
column - the column being retrieved
Returns:
long

Ax.rs.DataFrame.getLong

long Ax.rs.DataFrame.getLong(
	string columnName
)
Info:
Get the long value of a column by name
Parameters:
columnName - is the SQL name of the column
Returns:
long

Ax.rs.DataFrame.getMetaData

object Ax.rs.DataFrame.getMetaData()
Info:
Returns a ResultSetMetaData object for this result set
Returns:
object

Ax.rs.DataFrame.getNCharacterStream

object Ax.rs.DataFrame.getNCharacterStream(
	smallint columnIndex
)
Parameters:
columnIndex - 
Returns:
object

Ax.rs.DataFrame.getNCharacterStream

object Ax.rs.DataFrame.getNCharacterStream(
	string columnLabel
)
Parameters:
columnLabel - 
Returns:
object

Ax.rs.DataFrame.getNClob

object Ax.rs.DataFrame.getNClob(
	smallint columnIndex
)
Parameters:
columnIndex - 
Returns:
object

Ax.rs.DataFrame.getNClob

object Ax.rs.DataFrame.getNClob(
	string columnLabel
)
Parameters:
columnLabel - 
Returns:
object

Ax.rs.DataFrame.getNString

string Ax.rs.DataFrame.getNString(
	smallint columnIndex
)
Parameters:
columnIndex - 
Returns:
string

Ax.rs.DataFrame.getNString

string Ax.rs.DataFrame.getNString(
	string columnLabel
)
Parameters:
columnLabel - 
Returns:
string

Ax.rs.DataFrame.getObject

object Ax.rs.DataFrame.getObject(
	smallint columnIndex
)
Info:
Retrieves data as objects
Parameters:
columnIndex - 
Returns:
object

Ax.rs.DataFrame.getObject

object Ax.rs.DataFrame.getObject(
	string columnName
)
Info:
Get the value of a named column as an object
Parameters:
columnName - the SQL column name
Returns:
object

Ax.rs.DataFrame.getObject

object Ax.rs.DataFrame.getObject(
	smallint i,
	object map
)
Info:
JDBC 2.0 Returns the value of a column in the current row as a Java object. This method uses the given
Parameters:
i - the first column is 1, the second is 2, ...
map - the mapping from SQL type names to Java classes
Returns:
object

Example
Copy
Map

Ax.rs.DataFrame.getObject

object Ax.rs.DataFrame.getObject(
	smallint columnIndex,
	object type
)
Parameters:
columnIndex - 
type - 
Returns:
object

Ax.rs.DataFrame.getObject

object Ax.rs.DataFrame.getObject(
	string columnLabel,
	object type
)
Parameters:
columnLabel - 
type - 
Returns:
object

Ax.rs.DataFrame.getObject

object Ax.rs.DataFrame.getObject(
	string colName,
	object map
)
Info:
JDBC 2.0 Returns the value in the specified column as a Java object. This method uses the specified
Parameters:
colName - the name of the column from which to retrieve the value
map - the mapping from SQL type names to Java classes
Returns:
object

Example
Copy
Map

Ax.rs.DataFrame.getObjectId

smallint Ax.rs.DataFrame.getObjectId()
Returns:
smallint

Ax.rs.DataFrame.getParentId

smallint Ax.rs.DataFrame.getParentId()
Returns:
smallint

Ax.rs.DataFrame.getPivotResultSetMetaData

object Ax.rs.DataFrame.getPivotResultSetMetaData()
Returns:
object

Ax.rs.DataFrame.getRef

object Ax.rs.DataFrame.getRef(
	smallint i
)
Info:
JDBC 2.0 Gets a REF(
Parameters:
i - the first column is 1, the second is 2, ...
Returns:
object

Example
Copy
Ref

Ax.rs.DataFrame.getRef

object Ax.rs.DataFrame.getRef(
	string colName
)
Info:
JDBC 2.0 Gets a REF(
Parameters:
colName - the column name
Returns:
object

Example
Copy
Ref

Ax.rs.DataFrame.getRenderErrorExpressions

array Ax.rs.DataFrame.getRenderErrorExpressions()
Info:
The expression evaluator for colors or styles may fail when evaluating the expression on the row. This exceptions are stored in the report evaluator script engine.
Returns:
array

Ax.rs.DataFrame.getRenderErrorMessages

array Ax.rs.DataFrame.getRenderErrorMessages()
Returns:
array

Ax.rs.DataFrame.getResultSetEvaluator

object Ax.rs.DataFrame.getResultSetEvaluator()
Returns:
object

Ax.rs.DataFrame.getRow

smallint Ax.rs.DataFrame.getRow()
Info:
JDBC 2.0
Returns:
smallint

Ax.rs.DataFrame.getRowCount

smallint Ax.rs.DataFrame.getRowCount()
Info:
"final" makes this function invisible to Nashorn JavaScript. It's necessary to expose it even we have JSResultSets, cause in some circumstances we may have directly a memory resultset.
Returns:
smallint

Ax.rs.DataFrame.getRowData

object[] Ax.rs.DataFrame.getRowData()
Returns:
object[]

Ax.rs.DataFrame.getRowFirstGroupColumnIndex

smallint Ax.rs.DataFrame.getRowFirstGroupColumnIndex()
Returns:
smallint

Ax.rs.DataFrame.getRowFirstTotalValue

string Ax.rs.DataFrame.getRowFirstTotalValue()
Returns:
string

Ax.rs.DataFrame.getRowId

object Ax.rs.DataFrame.getRowId(
	smallint columnIndex
)
Parameters:
columnIndex - 
Returns:
object

Ax.rs.DataFrame.getRowId

object Ax.rs.DataFrame.getRowId(
	string columnLabel
)
Parameters:
columnLabel - 
Returns:
object

Ax.rs.DataFrame.getRows

array Ax.rs.DataFrame.getRows()
Info:
Rows can only be accessed if ResultSet is modificable. ResultSet can be set to readOnly by application to ensure it will not be modified by other parts of application to detect programming errors. Also, if resultset store is a memory mapped file, rows can not be modified as we only support adding elements to the array via standard List operations like list.add(Object[] rows).
Returns:
array

Ax.rs.DataFrame.getSQLXML

object Ax.rs.DataFrame.getSQLXML(
	smallint columnIndex
)
Parameters:
columnIndex - 
Returns:
object

Ax.rs.DataFrame.getSQLXML

object Ax.rs.DataFrame.getSQLXML(
	string columnLabel
)
Parameters:
columnLabel - 
Returns:
object

Ax.rs.DataFrame.getSelectedRowsJSONNormalized

array Ax.rs.DataFrame.getSelectedRowsJSONNormalized(
	object jdbcRows
)
Parameters:
jdbcRows - 
Returns:
array

Ax.rs.DataFrame.getShort

object Ax.rs.DataFrame.getShort(
	smallint column
)
Info:
Get the value of a column in the current row as a short.
Parameters:
column - the column being retrieved
Returns:
object

Ax.rs.DataFrame.getShort

object Ax.rs.DataFrame.getShort(
	string columnName
)
Info:
Get the value of a short by column name
Parameters:
columnName - is the SQL name of the column
Returns:
object

Ax.rs.DataFrame.getSort

string Ax.rs.DataFrame.getSort()
Returns:
string

Ax.rs.DataFrame.getStatement

object Ax.rs.DataFrame.getStatement()
Info:
JDBC 2.0 Returns the Statement that produced this
Returns:
object

Example
Copy
ResultSet
Example
Copy
DatabaseMetaData
Example
Copy
null

Ax.rs.DataFrame.getStore

object Ax.rs.DataFrame.getStore()
Info:
The type of store (ArrayListStore, MemoryMappedListStore)
Returns:
object

Ax.rs.DataFrame.getStoreFile

file Ax.rs.DataFrame.getStoreFile()
Returns:
file

Ax.rs.DataFrame.getString

string Ax.rs.DataFrame.getString(
	smallint columnIndex
)
Info:
Gets the value of a column (by index) as a String. Null values are converted to a empty string (""). This should correspond to what is returned by "isNull" method.
Parameters:
columnIndex - 
Returns:
string

Ax.rs.DataFrame.getString

string Ax.rs.DataFrame.getString(
	string columnName
)
Info:
Return the String value of a column given its name, rather than its index.
Parameters:
columnName - 
Returns:
string

Ax.rs.DataFrame.getTime

object Ax.rs.DataFrame.getTime(
	smallint column
)
Info:
Get the value of a column in the current row as a java.sql.Time object.
Parameters:
column - the column being retrieved
Returns:
object

Ax.rs.DataFrame.getTime

object Ax.rs.DataFrame.getTime(
	string columnName
)
Info:
Get a named column as a java.sql.Time
Parameters:
columnName - is the SQL name of the column
Returns:
object

Ax.rs.DataFrame.getTime

object Ax.rs.DataFrame.getTime(
	smallint columnIndex,
	object cal
)
Info:
Gets the value of a column in the current row as a java.sql.Time object. This method uses the given calendar to construct an appropriate millisecond value for the Time if the underlying database does not store timezone information.
Parameters:
columnIndex - the first column is 1, the second is 2, ...
cal - the calendar to use in constructing the time
Returns:
object

Ax.rs.DataFrame.getTime

object Ax.rs.DataFrame.getTime(
	string columnName,
	object cal
)
Info:
Gets the value of a column in the current row as a java.sql.Time object. This method uses the given calendar to construct an appropriate millisecond value for the Time if the underlying database does not store timezone information.
Parameters:
columnName - the SQL name of the column
cal - the calendar to use in constructing the time
Returns:
object

Ax.rs.DataFrame.getTimestamp

object Ax.rs.DataFrame.getTimestamp(
	smallint column
)
Info:
Get the value of a column in the current row as a java.sql.Timestamp
Parameters:
column - the column being retrieved
Returns:
object

Ax.rs.DataFrame.getTimestamp

object Ax.rs.DataFrame.getTimestamp(
	string columnName
)
Info:
Get a named column as a java.sql.Time
Parameters:
columnName - is the SQL name of the column
Returns:
object

Ax.rs.DataFrame.getTimestamp

object Ax.rs.DataFrame.getTimestamp(
	smallint columnIndex,
	object cal
)
Info:
Gets the value of a column in the current row as a java.sql.Timestamp object. This method uses the given calendar to construct an appropriate millisecond value for the Timestamp if the underlying database does not store timezone information.
Parameters:
columnIndex - the first column is 1, the second is 2, ...
cal - the calendar to use in constructing the timestamp
Returns:
object

Ax.rs.DataFrame.getTimestamp

object Ax.rs.DataFrame.getTimestamp(
	string columnName,
	object cal
)
Info:
Gets the value of a column in the current row as a java.sql.Timestamp object. This method uses the given calendar to construct an appropriate millisecond value for the Timestamp if the underlying database does not store timezone information.
Parameters:
columnName - the SQL name of the column
cal - the calendar to use in constructing the timestamp
Returns:
object

Ax.rs.DataFrame.getTitle

string Ax.rs.DataFrame.getTitle()
Returns:
string

Ax.rs.DataFrame.getTotalBitSet

object Ax.rs.DataFrame.getTotalBitSet()
Info:
Return the totals BitSet for JSON serializers
Returns:
object

Ax.rs.DataFrame.getType

smallint Ax.rs.DataFrame.getType()
Info:
JDBC 2.0 Returns the type of this result set. The type is determined by the statement that created the result set. All memory, cursor are scrollable so they are all != TYPE_FORWARD_ONLY
Returns:
smallint

Ax.rs.DataFrame.getURL

object Ax.rs.DataFrame.getURL(
	smallint columnIndex
)
Info:
Retrieves the value of the designated column in the current row of this
Parameters:
columnIndex - the index of the column 1 is the first, 2 is the second,...
Returns:
object

Example
Copy
ResultSet
Example
Copy
java.net.URL
Example
Copy
java.net.URL
Example
Copy
NULL
Example
Copy
null

Ax.rs.DataFrame.getURL

object Ax.rs.DataFrame.getURL(
	string columnLabel
)
Info:
Retrieves the value of the designated column in the current row of this
Parameters:
columnLabel - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column
Returns:
object

Example
Copy
ResultSet
Example
Copy
java.net.URL
Example
Copy
java.net.URL
Example
Copy
NULL
Example
Copy
null

Ax.rs.DataFrame.getUnicodeStream

object Ax.rs.DataFrame.getUnicodeStream(
	string columnName
)
Info:
This is unsupported, but we'll try to call the corresponding call by column index.
Parameters:
columnName - 
Returns:
object

Ax.rs.DataFrame.getUnicodeStream

object Ax.rs.DataFrame.getUnicodeStream(
	smallint column
)
Info:
This is not currently supported.
Parameters:
column - 
Returns:
object

Ax.rs.DataFrame.getWarnings

object Ax.rs.DataFrame.getWarnings()
Info:
Return the warning chain. This is presently unsupported.
Returns:
object

Ax.rs.DataFrame.hasEmptyRows

boolean Ax.rs.DataFrame.hasEmptyRows()
Returns:
boolean

Ax.rs.DataFrame.hasMore

boolean Ax.rs.DataFrame.hasMore()
Returns:
boolean

Ax.rs.DataFrame.hasTotalRows

boolean Ax.rs.DataFrame.hasTotalRows()
Returns:
boolean

Ax.rs.DataFrame.insertRow

null Ax.rs.DataFrame.insertRow(
	object[] data
)
Info:
Inserts a new row with given map of column/value pairs
Parameters:
data - 
Returns:
null

Ax.rs.DataFrame.insertRow

null Ax.rs.DataFrame.insertRow(
	object[] data,
	smallint position
)
Info:
Inserts a new row with given array pairs af position
Parameters:
data - 
position - 
Returns:
null

Ax.rs.DataFrame.insertRow

null Ax.rs.DataFrame.insertRow(
	object data
)
Info:
Inserts a new row with given map of column/value pairs
Parameters:
data - 
Returns:
null

Ax.rs.DataFrame.insertRow

null Ax.rs.DataFrame.insertRow(
	object data,
	smallint position
)
Info:
Inserts a new row with given map of column/value pairs
Parameters:
data - 
position - 
Returns:
null

Ax.rs.DataFrame.insertRow

null Ax.rs.DataFrame.insertRow()
Info:
JDBC 2.0 Inserts the contents of the insert row into the result set and the database. Must be on the insert row when this method is called.
Returns:
null

Ax.rs.DataFrame.isAfterLast

boolean Ax.rs.DataFrame.isAfterLast()
Info:
JDBC 2.0
Returns:
boolean

Ax.rs.DataFrame.isAfterLast

boolean Ax.rs.DataFrame.isAfterLast()
Info:
JDBC 2.0
Returns:
boolean

Ax.rs.DataFrame.isBeforeFirst

boolean Ax.rs.DataFrame.isBeforeFirst()
Info:
JDBC 2.0
Returns:
boolean

Ax.rs.DataFrame.isCellGroup

boolean Ax.rs.DataFrame.isCellGroup(
	smallint columnIndex
)
Parameters:
columnIndex - 
Returns:
boolean

Ax.rs.DataFrame.isCellGroupTotal

boolean Ax.rs.DataFrame.isCellGroupTotal(
	smallint columnIndex
)
Parameters:
columnIndex - 
Returns:
boolean

Ax.rs.DataFrame.isCellNull

boolean Ax.rs.DataFrame.isCellNull(
	smallint columnIndex
)
Parameters:
columnIndex - 
Returns:
boolean

Ax.rs.DataFrame.isClosed

boolean Ax.rs.DataFrame.isClosed()
Info:
INTERFACE java.sql.ResultSet SINCE JDBC 1.6
Returns:
boolean

Ax.rs.DataFrame.isColumnCheckBox

boolean Ax.rs.DataFrame.isColumnCheckBox(
	smallint columnIndex
)
Info:
A field can be boolean if: 1. It's a boolean type 2. We have a AColumnMetaDataInputTypeBoolean attribute set
Parameters:
columnIndex - 
Returns:
boolean

Ax.rs.DataFrame.isColumnRightAligned

boolean Ax.rs.DataFrame.isColumnRightAligned(
	smallint columnIndex
)
Parameters:
columnIndex - 
Returns:
boolean

Ax.rs.DataFrame.isColumnStruct

boolean Ax.rs.DataFrame.isColumnStruct(
	smallint columnIndex
)
Parameters:
columnIndex - 
Returns:
boolean

Ax.rs.DataFrame.isEmptyRow

boolean Ax.rs.DataFrame.isEmptyRow(
	smallint row
)
Info:
Return if a row is total
Parameters:
row - 
Returns:
boolean

Ax.rs.DataFrame.isFirst

boolean Ax.rs.DataFrame.isFirst()
Info:
JDBC 2.0
Returns:
boolean

Ax.rs.DataFrame.isFirstColumnOfGroup

boolean Ax.rs.DataFrame.isFirstColumnOfGroup(
	smallint columnIndex
)
Parameters:
columnIndex - 
Returns:
boolean

Ax.rs.DataFrame.isFirstNonGroupColumn

boolean Ax.rs.DataFrame.isFirstNonGroupColumn(
	smallint columnIndex
)
Info:
Returns if a column is the first after the last group.
Parameters:
columnIndex - 
Returns:
boolean

Ax.rs.DataFrame.isLast

boolean Ax.rs.DataFrame.isLast()
Info:
JDBC 2.0
Returns:
boolean

Example
Copy
Indicates whether the cursor is on the last row of the result set. Note: Calling the method isLast

Ax.rs.DataFrame.isNew

boolean Ax.rs.DataFrame.isNew()
Info:
Returns if a RS is new or not.
Returns:
boolean

Ax.rs.DataFrame.isOpen

boolean Ax.rs.DataFrame.isOpen()
Returns:
boolean

Ax.rs.DataFrame.isPivot

boolean Ax.rs.DataFrame.isPivot()
Returns:
boolean

Ax.rs.DataFrame.isRowGroup

boolean Ax.rs.DataFrame.isRowGroup()
Info:
Checks if current row contains groups (not totals)
Returns:
boolean

Ax.rs.DataFrame.isTotalRow

boolean Ax.rs.DataFrame.isTotalRow()
Info:
Return if a row is total
Returns:
boolean

Ax.rs.DataFrame.isTotalRow

boolean Ax.rs.DataFrame.isTotalRow(
	smallint rowIndex
)
Info:
Return if a row is total
Parameters:
rowIndex - The JDBC row index (start 0)
Returns:
boolean

Ax.rs.DataFrame.isTruncated

boolean Ax.rs.DataFrame.isTruncated()
Returns:
boolean

Ax.rs.DataFrame.isWrapperFor

boolean Ax.rs.DataFrame.isWrapperFor(
	object iface
)
Parameters:
iface - 
Returns:
boolean

Ax.rs.DataFrame.iterator

object Ax.rs.DataFrame.iterator()
Returns:
object

Ax.rs.DataFrame.iterator

object Ax.rs.DataFrame.iterator()
Info:
Can not be final cause MemoryResultSet has an specific override
Returns:
object

Ax.rs.DataFrame.last

boolean Ax.rs.DataFrame.last()
Info:
JDBC 2.0
Returns:
boolean

Ax.rs.DataFrame.lock

null Ax.rs.DataFrame.lock()
Info:
Acquires the lock. A ReentrantLock is owned by the thread last successfully locking, but not yet unlocking it. A thread invoking lock will return, successfully acquiring the lock, when the lock is not owned by another thread. The method will return immediately if the current thread already owns the lock.
Returns:
null

Ax.rs.DataFrame.moveToCurrentRow

null Ax.rs.DataFrame.moveToCurrentRow()
Info:
JDBC 2.0 Moves the cursor to the remembered cursor position, usually the current row. This method has no effect if the cursor is not on the insert row.
Returns:
null

Ax.rs.DataFrame.moveToInsertRow

null Ax.rs.DataFrame.moveToInsertRow()
Info:
JDBC 2.0 Moves the cursor to the insert row. The current cursor position is remembered while the cursor is positioned on the insert row. The insert row is a special row associated with an updatable result set. It is essentially a buffer where a new row may be constructed by calling the
Returns:
null

Example
Copy
updateXXX
Example
Copy
updateXXX
Example
Copy
getXXX
Example
Copy
insertRow
Example
Copy
insertRow
Example
Copy
updateXXX
Example
Copy
getXXX

Ax.rs.DataFrame.next

boolean Ax.rs.DataFrame.next()
Info:
Advance to the next row in the result set.
Returns:
boolean

Ax.rs.DataFrame.ofCurrent

resultset Ax.rs.DataFrame.ofCurrent()
Returns:
resultset

Ax.rs.DataFrame.pivot

resultset Ax.rs.DataFrame.pivot(
	object config
)
Parameters:
config - 
Returns:
resultset

Ax.rs.DataFrame.previous

boolean Ax.rs.DataFrame.previous()
Info:
JDBC 2.0
Returns:
boolean

Example
Copy
Moves the cursor to the previous row in the result set.

 
 Note: previous()
Example
Copy
relative(-1)
Example
Copy
Example
Copy

Ax.rs.DataFrame.refreshRow

null Ax.rs.DataFrame.refreshRow()
Info:
JDBC 2.0 Refreshes the current row with its most recent value in the database. Cannot be called when on the insert row. The
Returns:
null

Example
Copy
refreshRow
Example
Copy
refreshRow
Example
Copy
refreshRow
Example
Copy
updateXXX
Example
Copy
updateRow
Example
Copy
refreshRow

Ax.rs.DataFrame.relative

boolean Ax.rs.DataFrame.relative(
	smallint offset
)
Info:
JDBC 2.0
Parameters:
offset - 
Returns:
boolean

Example
Copy
Moves the cursor a relative number of rows, either positive or negative. Attempting to move beyond the first/last row in
 the result set positions the cursor before/after the the first/last row. Calling relative(0)
Example
Copy
Note: Calling relative(1)
Example
Copy
next()
Example
Copy
next()

Ax.rs.DataFrame.rowDeleted

boolean Ax.rs.DataFrame.rowDeleted()
Info:
JDBC 2.0 Indicates whether a row has been deleted. A deleted row may leave a visible "hole" in a result set. This method can be used to detect holes in a result set. The value returned depends on whether or not the result set can detect deletions.
Returns:
boolean

Ax.rs.DataFrame.rowInserted

boolean Ax.rs.DataFrame.rowInserted()
Info:
JDBC 2.0 Indicates whether the current row has had an insertion. The value returned depends on whether or not the result set can detect visible inserts.
Returns:
boolean

Ax.rs.DataFrame.rowUpdated

boolean Ax.rs.DataFrame.rowUpdated()
Info:
JDBC 2.0 Indicates whether the current row has been updated. The value returned depends on whether or not the result set can detect updates.
Returns:
boolean

Ax.rs.DataFrame.rows

object Ax.rs.DataFrame.rows()
Returns:
object

Ax.rs.DataFrame.search

boolean Ax.rs.DataFrame.search(
	string[] colnames,
	object[] columnValues
)
Parameters:
colnames - 
columnValues - 
Returns:
boolean

Ax.rs.DataFrame.search

boolean Ax.rs.DataFrame.search(
	object columnIndexes,
	object[] columnValues
)
Parameters:
columnIndexes - 
columnValues - 
Returns:
boolean

Ax.rs.DataFrame.setAttribute

null Ax.rs.DataFrame.setAttribute(
	string name,
	object value
)
Parameters:
name - 
value - 
Returns:
null

Ax.rs.DataFrame.setAttributes

null Ax.rs.DataFrame.setAttributes(
	object attributes
)
Parameters:
attributes - 
Returns:
null

Ax.rs.DataFrame.setAutoCloseOnEndIfNotScrollable

null Ax.rs.DataFrame.setAutoCloseOnEndIfNotScrollable()
Info:
JSResultSet is mandatory on automatically close non scrollable ResultSet's once consumed. In other cases, better delegate to caller.
Returns:
null

Ax.rs.DataFrame.setColumnHref

null Ax.rs.DataFrame.setColumnHref(
	string colname,
	string hrefPattern
)
Parameters:
colname - 
hrefPattern - a pattern like /console/list/${database}/${statement_id}
Returns:
null

Ax.rs.DataFrame.setCursorName

null Ax.rs.DataFrame.setCursorName(
	string cursorName
)
Parameters:
cursorName - 
Returns:
null

Ax.rs.DataFrame.setDataColorizer

null Ax.rs.DataFrame.setDataColorizer(
	string colname,
	object algorithm,
	object colors,
	boolean gradient
)
Parameters:
colname - 
algorithm - 
colors - 
gradient - 
Returns:
null

Ax.rs.DataFrame.setDataColorizer

null Ax.rs.DataFrame.setDataColorizer(
	string colname,
	string algorithm,
	object colors,
	boolean gradient
)
Parameters:
colname - 
algorithm - 
colors - 
gradient - 
Returns:
null

Ax.rs.DataFrame.setDataColorizer

null Ax.rs.DataFrame.setDataColorizer(
	string[] colnames,
	string algorithm,
	object colors,
	boolean gradient
)
Parameters:
colnames - 
algorithm - 
colors - 
gradient - 
Returns:
null

Ax.rs.DataFrame.setDataColorizer

null Ax.rs.DataFrame.setDataColorizer(
	string[] colnames,
	object algorithm,
	object colors,
	boolean gradient
)
Parameters:
colnames - 
algorithm - 
colors - 
gradient - 
Returns:
null

Ax.rs.DataFrame.setDataColorizer

null Ax.rs.DataFrame.setDataColorizer(
	string[] colnames,
	object colorizer
)
Parameters:
colnames - 
colorizer - 
Returns:
null

Ax.rs.DataFrame.setDouble

smallint Ax.rs.DataFrame.setDouble(
	object keyValue,
	string colname,
	double value
)
Parameters:
keyValue - 
colname - 
value - 
Returns:
smallint

Ax.rs.DataFrame.setEmptyBitSet

null Ax.rs.DataFrame.setEmptyBitSet(
	object set
)
Info:
Setup the empty bitmap from another (cloned) ResultSet
Parameters:
set - 
Returns:
null

Ax.rs.DataFrame.setEmptyRow

null Ax.rs.DataFrame.setEmptyRow(
	smallint row
)
Info:
Return if a row is total
Parameters:
row - 
Returns:
null

Ax.rs.DataFrame.setFetchDirection

null Ax.rs.DataFrame.setFetchDirection(
	smallint direction
)
Info:
JDBC 2.0 Gives a hint as to the direction in which the rows in this result set will be processed. The initial value is determined by the statement that produced the result set. The fetch direction may be changed at any time.
Parameters:
direction - 
Returns:
null

Ax.rs.DataFrame.setFetchSize

null Ax.rs.DataFrame.setFetchSize(
	smallint rows
)
Info:
JDBC 2.0 Gives the JDBC driver a hint as to the number of rows that should be fetched from the database when more rows are needed for this result set. If the fetch size specified is zero, the JDBC driver ignores the value and is free to make its own best guess as to what the fetch size should be. The default value is set by the statement that created the result set. The fetch size may be changed at any time.
Parameters:
rows - the number of rows to fetch
Returns:
null

Ax.rs.DataFrame.setHyperlinkVariableResolver

resultset Ax.rs.DataFrame.setHyperlinkVariableResolver(
	object hyperlinkResolver
)
Parameters:
hyperlinkResolver - 
Returns:
resultset

Ax.rs.DataFrame.setIgnoreClose

object Ax.rs.DataFrame.setIgnoreClose()
Info:
Disconnect normal close operation. For example cached resultSet will setup ignore close to allow leased ResultSet be closed without effect. Later cache will use absoluteClose() call
Returns:
object

Ax.rs.DataFrame.setLocaleFormatter

object Ax.rs.DataFrame.setLocaleFormatter(
	object formatter
)
Parameters:
formatter - 
Returns:
object

Ax.rs.DataFrame.setObject

null Ax.rs.DataFrame.setObject(
	smallint columnIndex,
	object value
)
Parameters:
columnIndex - 
value - 
Returns:
null

Ax.rs.DataFrame.setPivotResultSetMetaData

null Ax.rs.DataFrame.setPivotResultSetMetaData(
	object prmd
)
Info:
Called from Pivot to setup the pivot information in this resultset
Parameters:
prmd - 
Returns:
null

Ax.rs.DataFrame.setReadOnly

null Ax.rs.DataFrame.setReadOnly()
Info:
Allows caches protect master instances from being modified accidentally
Returns:
null

Ax.rs.DataFrame.setRowData

null Ax.rs.DataFrame.setRowData(
	object[] data
)
Parameters:
data - 
Returns:
null

Ax.rs.DataFrame.setSimpleDataColorizer

null Ax.rs.DataFrame.setSimpleDataColorizer(
	boolean gradient
)
Info:
TODO: Have an automatic colorizer like iofnet Set the colorizer for all numeric columns
Parameters:
gradient - 
Returns:
null

Ax.rs.DataFrame.setSort

null Ax.rs.DataFrame.setSort(
	string sort
)
Info:
Sort function will setup the sort string in SQL syntax
Parameters:
sort - 
Returns:
null

Ax.rs.DataFrame.setTableName

object Ax.rs.DataFrame.setTableName(
	string tableName,
	string[] columns
)
Parameters:
tableName - 
columns - 
Returns:
object

Ax.rs.DataFrame.setTitle

object Ax.rs.DataFrame.setTitle(
	string title
)
Info:
May be override to allow appropriate class return
Parameters:
title - 
Returns:
object

Ax.rs.DataFrame.setTotalBitSet

null Ax.rs.DataFrame.setTotalBitSet(
	object set
)
Info:
Setup the total bitmap from another (cloned) ResultSet
Parameters:
set - 
Returns:
null

Ax.rs.DataFrame.setTotalRow

null Ax.rs.DataFrame.setTotalRow(
	smallint rowIndex
)
Parameters:
rowIndex - The JDBC row index (start 1)
Returns:
null

Ax.rs.DataFrame.setTruncated

null Ax.rs.DataFrame.setTruncated(
	boolean hasMore
)
Parameters:
hasMore - 
Returns:
null

Ax.rs.DataFrame.setTruncatedAccepted

null Ax.rs.DataFrame.setTruncatedAccepted()
Returns:
null

Ax.rs.DataFrame.setUsed

null Ax.rs.DataFrame.setUsed()
Info:
Mark as NOT new from ResultSetHolder.
Returns:
null

Ax.rs.DataFrame.sortByColumns

resultset Ax.rs.DataFrame.sortByColumns(
	string[] columns
)
Info:
Performs a sort but grouping by columns
Parameters:
columns - 
Returns:
resultset

Ax.rs.DataFrame.sortByColumnsGroupBy

resultset Ax.rs.DataFrame.sortByColumnsGroupBy(
	string[] columns,
	string[] groupColumns
)
Info:
Performs a sort but grouping by columns
Parameters:
columns - 
groupColumns - 
Returns:
resultset

Ax.rs.DataFrame.stream

object Ax.rs.DataFrame.stream()
Info:
TupleStream is a Stream
Returns:
object

Ax.rs.DataFrame.toArray

array Ax.rs.DataFrame.toArray()
Returns:
array

Ax.rs.DataFrame.toArray

array Ax.rs.DataFrame.toArray(
	string columnName
)
Parameters:
columnName - 
Returns:
array

Ax.rs.DataFrame.toForm

resultset Ax.rs.DataFrame.toForm(
	boolean addToolTipColumn
)
Info:
Convert a single row into a row columns resultset to be represented as a form
Parameters:
addToolTipColumn - 
Returns:
resultset

Ax.rs.DataFrame.toJSONArray

array Ax.rs.DataFrame.toJSONArray()
Returns:
array

Ax.rs.DataFrame.toMap

object Ax.rs.DataFrame.toMap()
Returns:
object

Ax.rs.DataFrame.toMapByKey

object Ax.rs.DataFrame.toMapByKey(
	string[] columns
)
Parameters:
columns - 
Returns:
object

Ax.rs.DataFrame.toNormalizedJSONMap

object Ax.rs.DataFrame.toNormalizedJSONMap()
Info:
When calling buttons or after field events actions in transaction manager we want to handle column names that are prefixed by a tablename as JSON objects. For example, if we have the column names like: codigo, empresa.nombre, empresa.nif we expect a JSON like "codigo": 100 "empresa" : { "nombre" : "acme", "nif" : "a737373" }
Returns:
object

Ax.rs.DataFrame.toOne

object Ax.rs.DataFrame.toOne()
Returns:
object

Ax.rs.DataFrame.toOne

object Ax.rs.DataFrame.toOne(
	string errorMessageIfNotOne
)
Parameters:
errorMessageIfNotOne - 
Returns:
object

Ax.rs.DataFrame.toResultSet

resultset Ax.rs.DataFrame.toResultSet()
Returns:
resultset

Ax.rs.DataFrame.toString

string Ax.rs.DataFrame.toString()
Info:
SQLResultSet names have the form: SQLResultSet[3:2][0x0][/var/folders/7k/fryctpy563ngmfw2qhh1m5jc0000gn/T/axional/MemoryMappedListStore/@FoodMart/sql2172477787082695728.bin] The first two number are the id of the current resultset and the id of the parent. If the parent is 0, it means there is no parent. If the parent is
Returns:
string

Ax.rs.DataFrame.toValue

object Ax.rs.DataFrame.toValue()
Returns:
object

Ax.rs.DataFrame.unlock

null Ax.rs.DataFrame.unlock()
Info:
Releases a lock
Returns:
null

Ax.rs.DataFrame.unwrap

object Ax.rs.DataFrame.unwrap(
	object iface
)
Parameters:
iface - 
Returns:
object

Ax.rs.DataFrame.updateArray

null Ax.rs.DataFrame.updateArray(
	smallint columnIndex,
	object x
)
Info:
Updates the designated column with a
Parameters:
columnIndex - the first column is 1, the second is 2, ...
x - the new column value
Returns:
null

Example
Copy
java.sql.Array
Example
Copy
updateRow
Example
Copy
insertRow
Example
Copy
CONCUR_READ_ONLY

Ax.rs.DataFrame.updateArray

null Ax.rs.DataFrame.updateArray(
	string columnLabel,
	object x
)
Info:
Updates the designated column with a
Parameters:
columnLabel - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column
x - the new column value
Returns:
null

Example
Copy
java.sql.Array
Example
Copy
updateRow
Example
Copy
insertRow
Example
Copy
CONCUR_READ_ONLY

Ax.rs.DataFrame.updateAsciiStream

null Ax.rs.DataFrame.updateAsciiStream(
	smallint columnIndex,
	object x,
	smallint length
)
Info:
JDBC 2.0 Updates a column with an ascii stream value. The
Parameters:
columnIndex - the first column is 1, the second is 2, ...
x - the new column value
length - the length of the stream
Returns:
null

Example
Copy
updateXXX
Example
Copy
updateXXX
Example
Copy
updateRow
Example
Copy
insertRow

Ax.rs.DataFrame.updateAsciiStream

null Ax.rs.DataFrame.updateAsciiStream(
	string columnName,
	object x,
	smallint length
)
Info:
JDBC 2.0 Updates a column with an ascii stream value. The
Parameters:
columnName - the name of the column
x - the new column value
length - of the stream
Returns:
null

Example
Copy
updateXXX
Example
Copy
updateXXX
Example
Copy
updateRow
Example
Copy
insertRow

Ax.rs.DataFrame.updateAsciiStream

null Ax.rs.DataFrame.updateAsciiStream(
	smallint columnIndex,
	object x,
	long length
)
Parameters:
columnIndex - 
x - 
length - 
Returns:
null

Ax.rs.DataFrame.updateAsciiStream

null Ax.rs.DataFrame.updateAsciiStream(
	smallint columnIndex,
	object x
)
Parameters:
columnIndex - 
x - 
Returns:
null

Ax.rs.DataFrame.updateAsciiStream

null Ax.rs.DataFrame.updateAsciiStream(
	string columnLabel,
	object x,
	long length
)
Parameters:
columnLabel - 
x - 
length - 
Returns:
null

Ax.rs.DataFrame.updateAsciiStream

null Ax.rs.DataFrame.updateAsciiStream(
	string columnLabel,
	object x
)
Parameters:
columnLabel - 
x - 
Returns:
null

Ax.rs.DataFrame.updateBigDecimal

null Ax.rs.DataFrame.updateBigDecimal(
	smallint columnIndex,
	object x
)
Info:
JDBC 2.0 Updates a column with a BigDecimal value. The
Parameters:
columnIndex - the first column is 1, the second is 2, ...
x - the new column value
Returns:
null

Example
Copy
updateXXX
Example
Copy
updateXXX
Example
Copy
updateRow
Example
Copy
insertRow

Ax.rs.DataFrame.updateBigDecimal

null Ax.rs.DataFrame.updateBigDecimal(
	string columnName,
	object x
)
Info:
JDBC 2.0 Updates a column with a BigDecimal value. The
Parameters:
columnName - the name of the column
x - the new column value
Returns:
null

Example
Copy
updateXXX
Example
Copy
updateXXX
Example
Copy
updateRow
Example
Copy
insertRow

Ax.rs.DataFrame.updateBinaryStream

null Ax.rs.DataFrame.updateBinaryStream(
	smallint columnIndex,
	object x,
	smallint length
)
Info:
JDBC 2.0 Updates a column with a binary stream value. The
Parameters:
columnIndex - the first column is 1, the second is 2, ...
x - the new column value
length - the length of the stream
Returns:
null

Example
Copy
updateXXX
Example
Copy
updateXXX
Example
Copy
updateRow
Example
Copy
insertRow

Ax.rs.DataFrame.updateBinaryStream

null Ax.rs.DataFrame.updateBinaryStream(
	string columnName,
	object x,
	smallint length
)
Info:
JDBC 2.0 Updates a column with a binary stream value. The
Parameters:
columnName - the name of the column
x - the new column value
length - of the stream
Returns:
null

Example
Copy
updateXXX
Example
Copy
updateXXX
Example
Copy
updateRow
Example
Copy
insertRow

Ax.rs.DataFrame.updateBinaryStream

null Ax.rs.DataFrame.updateBinaryStream(
	smallint columnIndex,
	object x
)
Parameters:
columnIndex - 
x - 
Returns:
null

Ax.rs.DataFrame.updateBinaryStream

null Ax.rs.DataFrame.updateBinaryStream(
	smallint columnIndex,
	object x,
	long length
)
Parameters:
columnIndex - 
x - 
length - 
Returns:
null

Ax.rs.DataFrame.updateBinaryStream

null Ax.rs.DataFrame.updateBinaryStream(
	string columnLabel,
	object x
)
Parameters:
columnLabel - 
x - 
Returns:
null

Ax.rs.DataFrame.updateBinaryStream

null Ax.rs.DataFrame.updateBinaryStream(
	string columnLabel,
	object x,
	long length
)
Parameters:
columnLabel - 
x - 
length - 
Returns:
null

Ax.rs.DataFrame.updateBlob

null Ax.rs.DataFrame.updateBlob(
	smallint columnIndex,
	object inputStream,
	long length
)
Parameters:
columnIndex - 
inputStream - 
length - 
Returns:
null

Ax.rs.DataFrame.updateBlob

null Ax.rs.DataFrame.updateBlob(
	smallint columnIndex,
	object inputStream
)
Parameters:
columnIndex - 
inputStream - 
Returns:
null

Ax.rs.DataFrame.updateBlob

null Ax.rs.DataFrame.updateBlob(
	string columnLabel,
	object inputStream,
	long length
)
Parameters:
columnLabel - 
inputStream - 
length - 
Returns:
null

Ax.rs.DataFrame.updateBlob

null Ax.rs.DataFrame.updateBlob(
	string columnLabel,
	object inputStream
)
Parameters:
columnLabel - 
inputStream - 
Returns:
null

Ax.rs.DataFrame.updateBlob

null Ax.rs.DataFrame.updateBlob(
	smallint columnIndex,
	object x
)
Info:
Updates the designated column with a
Parameters:
columnIndex - the first column is 1, the second is 2, ...
x - the new column value
Returns:
null

Example
Copy
java.sql.Blob
Example
Copy
updateRow
Example
Copy
insertRow
Example
Copy
CONCUR_READ_ONLY

Ax.rs.DataFrame.updateBlob

null Ax.rs.DataFrame.updateBlob(
	string columnLabel,
	object x
)
Info:
Updates the designated column with a
Parameters:
columnLabel - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column
x - the new column value
Returns:
null

Example
Copy
java.sql.Blob
Example
Copy
updateRow
Example
Copy
insertRow
Example
Copy
CONCUR_READ_ONLY

Ax.rs.DataFrame.updateBoolean

null Ax.rs.DataFrame.updateBoolean(
	smallint columnIndex,
	boolean x
)
Info:
JDBC 2.0 Updates a column with a boolean value. The
Parameters:
columnIndex - the first column is 1, the second is 2, ...
x - the new column value
Returns:
null

Example
Copy
updateXXX
Example
Copy
updateXXX
Example
Copy
updateRow
Example
Copy
insertRow

Ax.rs.DataFrame.updateBoolean

null Ax.rs.DataFrame.updateBoolean(
	string columnName,
	boolean x
)
Info:
JDBC 2.0 Updates a column with a boolean value. The
Parameters:
columnName - the name of the column
x - the new column value
Returns:
null

Example
Copy
updateXXX
Example
Copy
updateXXX
Example
Copy
updateRow
Example
Copy
insertRow

Ax.rs.DataFrame.updateByte

null Ax.rs.DataFrame.updateByte(
	smallint columnIndex,
	object x
)
Info:
JDBC 2.0 Updates a column with a byte value. The
Parameters:
columnIndex - the first column is 1, the second is 2, ...
x - the new column value
Returns:
null

Example
Copy
updateXXX
Example
Copy
updateXXX
Example
Copy
updateRow
Example
Copy
insertRow

Ax.rs.DataFrame.updateByte

null Ax.rs.DataFrame.updateByte(
	string columnName,
	object x
)
Info:
JDBC 2.0 Updates a column with a byte value. The
Parameters:
columnName - the name of the column
x - the new column value
Returns:
null

Example
Copy
updateXXX
Example
Copy
updateXXX
Example
Copy
updateRow
Example
Copy
insertRow

Ax.rs.DataFrame.updateBytes

null Ax.rs.DataFrame.updateBytes(
	smallint columnIndex,
	byte[] x
)
Info:
JDBC 2.0 Updates a column with a byte array value. The
Parameters:
columnIndex - the first column is 1, the second is 2, ...
x - the new column value
Returns:
null

Example
Copy
updateXXX
Example
Copy
updateXXX
Example
Copy
updateRow
Example
Copy
insertRow

Ax.rs.DataFrame.updateBytes

null Ax.rs.DataFrame.updateBytes(
	string columnName,
	byte[] x
)
Info:
JDBC 2.0 Updates a column with a byte array value. The
Parameters:
columnName - the name of the column
x - the new column value
Returns:
null

Example
Copy
updateXXX
Example
Copy
updateXXX
Example
Copy
updateRow
Example
Copy
insertRow

Ax.rs.DataFrame.updateCharacterStream

null Ax.rs.DataFrame.updateCharacterStream(
	smallint columnIndex,
	object x,
	smallint length
)
Info:
JDBC 2.0 Updates a column with a character stream value. The
Parameters:
columnIndex - the first column is 1, the second is 2, ...
x - the new column value
length - the length of the stream
Returns:
null

Example
Copy
updateXXX
Example
Copy
updateXXX
Example
Copy
updateRow
Example
Copy
insertRow

Ax.rs.DataFrame.updateCharacterStream

null Ax.rs.DataFrame.updateCharacterStream(
	string columnName,
	object x,
	smallint length
)
Info:
JDBC 2.0 Updates a column with a character stream value. The
Parameters:
columnName - the name of the column
x - the new column value
length - of the stream
Returns:
null

Example
Copy
updateXXX
Example
Copy
updateXXX
Example
Copy
updateRow
Example
Copy
insertRow

Ax.rs.DataFrame.updateCharacterStream

null Ax.rs.DataFrame.updateCharacterStream(
	smallint columnIndex,
	object x,
	long length
)
Parameters:
columnIndex - 
x - 
length - 
Returns:
null

Ax.rs.DataFrame.updateCharacterStream

null Ax.rs.DataFrame.updateCharacterStream(
	smallint columnIndex,
	object x
)
Parameters:
columnIndex - 
x - 
Returns:
null

Ax.rs.DataFrame.updateCharacterStream

null Ax.rs.DataFrame.updateCharacterStream(
	string columnLabel,
	object reader,
	long length
)
Parameters:
columnLabel - 
reader - 
length - 
Returns:
null

Ax.rs.DataFrame.updateCharacterStream

null Ax.rs.DataFrame.updateCharacterStream(
	string columnLabel,
	object reader
)
Parameters:
columnLabel - 
reader - 
Returns:
null

Ax.rs.DataFrame.updateClob

null Ax.rs.DataFrame.updateClob(
	smallint columnIndex,
	object reader,
	long length
)
Parameters:
columnIndex - 
reader - 
length - 
Returns:
null

Ax.rs.DataFrame.updateClob

null Ax.rs.DataFrame.updateClob(
	smallint columnIndex,
	object reader
)
Parameters:
columnIndex - 
reader - 
Returns:
null

Ax.rs.DataFrame.updateClob

null Ax.rs.DataFrame.updateClob(
	string columnLabel,
	object reader,
	long length
)
Parameters:
columnLabel - 
reader - 
length - 
Returns:
null

Ax.rs.DataFrame.updateClob

null Ax.rs.DataFrame.updateClob(
	string columnLabel,
	object reader
)
Parameters:
columnLabel - 
reader - 
Returns:
null

Ax.rs.DataFrame.updateClob

null Ax.rs.DataFrame.updateClob(
	smallint columnIndex,
	object x
)
Info:
Updates the designated column with a
Parameters:
columnIndex - the first column is 1, the second is 2, ...
x - the new column value
Returns:
null

Example
Copy
java.sql.Clob
Example
Copy
updateRow
Example
Copy
insertRow
Example
Copy
CONCUR_READ_ONLY

Ax.rs.DataFrame.updateClob

null Ax.rs.DataFrame.updateClob(
	string columnLabel,
	object x
)
Info:
Updates the designated column with a
Parameters:
columnLabel - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column
x - the new column value
Returns:
null

Example
Copy
java.sql.Clob
Example
Copy
updateRow
Example
Copy
insertRow
Example
Copy
CONCUR_READ_ONLY

Ax.rs.DataFrame.updateDate

null Ax.rs.DataFrame.updateDate(
	smallint columnIndex,
	date x
)
Info:
JDBC 2.0 Updates a column with a Date value. The
Parameters:
columnIndex - the first column is 1, the second is 2, ...
x - the new column value
Returns:
null

Example
Copy
updateXXX
Example
Copy
updateXXX
Example
Copy
updateRow
Example
Copy
insertRow

Ax.rs.DataFrame.updateDate

null Ax.rs.DataFrame.updateDate(
	string columnName,
	date x
)
Info:
JDBC 2.0 Updates a column with a Date value. The
Parameters:
columnName - the name of the column
x - the new column value
Returns:
null

Example
Copy
updateXXX
Example
Copy
updateXXX
Example
Copy
updateRow
Example
Copy
insertRow

Ax.rs.DataFrame.updateDouble

null Ax.rs.DataFrame.updateDouble(
	smallint columnIndex,
	double x
)
Info:
JDBC 2.0 Updates a column with a Double value. The
Parameters:
columnIndex - the first column is 1, the second is 2, ...
x - the new column value
Returns:
null

Example
Copy
updateXXX
Example
Copy
updateXXX
Example
Copy
updateRow
Example
Copy
insertRow

Ax.rs.DataFrame.updateDouble

null Ax.rs.DataFrame.updateDouble(
	string columnName,
	double x
)