1 JSResultSet
Class deister.axional.script.lib.ax.rs.JSResultSet
Constructor Summary
Method Summary
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
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
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
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
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
Constructor Summary
Method Summary
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
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
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
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
Constructor Summary
Method Summary
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
Constructor Summary
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
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
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
Constructor Summary
Method Summary
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
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
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
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
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
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
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
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 Summary
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
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)
absolute(-2)
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)
first()
absolute(-1)
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
updateXXX
updateRow
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
ResultSet
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
ResultSet
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
ResultSet
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
ResultSet
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
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
ResultSet
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
ResultSet
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
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
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
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
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
ResultSet
DatabaseMetaData
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
ResultSet
java.net.URL
java.net.URL
NULL
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
ResultSet
java.net.URL
java.net.URL
NULL
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
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
updateXXX
updateXXX
getXXX
insertRow
insertRow
updateXXX
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
Moves the cursor to the previous row in the result set. Note: previous()
relative(-1)
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
refreshRow
refreshRow
refreshRow
updateXXX
updateRow
refreshRow
Ax.rs.DataFrame.relative
-
boolean Ax.rs.DataFrame.relative( smallint offset )
- Info:
-
JDBC 2.0 - Parameters:
- offset -
- Returns:
- boolean
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)
Note: Calling relative(1)
next()
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
java.sql.Array
updateRow
insertRow
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
java.sql.Array
updateRow
insertRow
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
updateXXX
updateXXX
updateRow
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
updateXXX
updateXXX
updateRow
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
updateXXX
updateXXX
updateRow
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
updateXXX
updateXXX
updateRow
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
updateXXX
updateXXX
updateRow
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
updateXXX
updateXXX
updateRow
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
java.sql.Blob
updateRow
insertRow
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
java.sql.Blob
updateRow
insertRow
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
updateXXX
updateXXX
updateRow
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
updateXXX
updateXXX
updateRow
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
updateXXX
updateXXX
updateRow
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
updateXXX
updateXXX
updateRow
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
updateXXX
updateXXX
updateRow
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
updateXXX
updateXXX
updateRow
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
updateXXX
updateXXX
updateRow
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
updateXXX
updateXXX
updateRow
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
java.sql.Clob
updateRow
insertRow
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
java.sql.Clob
updateRow
insertRow
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
updateXXX
updateXXX
updateRow
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
updateXXX
updateXXX
updateRow
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
updateXXX
updateXXX
updateRow
insertRow
Ax.rs.DataFrame.updateDouble
-
null Ax.rs.DataFrame.updateDouble( string columnName, double x )