public class JavaScriptResultSet
extends org.mozilla.javascript.ScriptableObject
implements org.pentaho.commons.connection.IPentahoResultSet, org.pentaho.commons.connection.IPeekable
| Constructor and Description |
|---|
JavaScriptResultSet() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRow(Object[] row) |
void |
addRow(String[] row) |
void |
beforeFirst() |
void |
close() |
void |
closeConnection() |
void |
dispose() |
String |
getClassName() |
int |
getColumnCount() |
Object[] |
getDataColumn(int column) |
Object[] |
getDataRow(int row) |
org.pentaho.commons.connection.IPentahoMetaData |
getMetaData() |
int |
getRowCount() |
Object |
getValueAt(int row,
int column) |
boolean |
isScrollable() |
static Object |
jsFunction_addRow(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function funObj) |
static Object |
jsFunction_getColumnCount(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function funObj) |
static Object |
jsFunction_getRowCount(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function funObj) |
static Object |
jsFunction_getValueAt(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function funObj) |
static Object |
jsFunction_setColumnHeaders(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function funObj) |
org.pentaho.commons.connection.IPentahoResultSet |
memoryCopy() |
Object[] |
next() |
Object[] |
peek() |
void |
setMetaData(org.pentaho.commons.connection.IPentahoMetaData metaData) |
void |
setResultSet(org.pentaho.commons.connection.IPentahoResultSet pResults) |
String |
toString() |
associateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasInstance, hasProperty, hasProperty, isConst, isEmpty, isExtensible, isSealed, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype, sizepublic void setResultSet(org.pentaho.commons.connection.IPentahoResultSet pResults)
public String getClassName()
getClassName in interface org.mozilla.javascript.ScriptablegetClassName in class org.mozilla.javascript.ScriptableObjectpublic static Object jsFunction_getColumnCount(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function funObj)
public static Object jsFunction_getRowCount(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function funObj)
public static Object jsFunction_getValueAt(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function funObj)
public static Object jsFunction_setColumnHeaders(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function funObj)
public static Object jsFunction_addRow(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function funObj)
public void setMetaData(org.pentaho.commons.connection.IPentahoMetaData metaData)
public void addRow(String[] row)
public void addRow(Object[] row)
public org.pentaho.commons.connection.IPentahoMetaData getMetaData()
getMetaData in interface org.pentaho.commons.connection.IPentahoResultSetpublic Object[] peek()
peek in interface org.pentaho.commons.connection.IPeekablepublic Object[] next()
next in interface org.pentaho.commons.connection.IPentahoResultSetpublic void close()
close in interface org.pentaho.commons.connection.IPentahoResultSetpublic void closeConnection()
closeConnection in interface org.pentaho.commons.connection.IPentahoResultSetpublic void dispose()
dispose in interface org.pentaho.commons.connection.IDisposablepublic boolean isScrollable()
isScrollable in interface org.pentaho.commons.connection.IPentahoResultSetpublic int getColumnCount()
getColumnCount in interface org.pentaho.commons.connection.IPentahoResultSetpublic int getRowCount()
getRowCount in interface org.pentaho.commons.connection.IPentahoResultSetpublic Object getValueAt(int row, int column)
getValueAt in interface org.pentaho.commons.connection.IPentahoResultSetpublic org.pentaho.commons.connection.IPentahoResultSet memoryCopy()
memoryCopy in interface org.pentaho.commons.connection.IPentahoResultSetpublic void beforeFirst()
beforeFirst in interface org.pentaho.commons.connection.IPentahoResultSetpublic Object[] getDataColumn(int column)
getDataColumn in interface org.pentaho.commons.connection.IPentahoResultSetpublic Object[] getDataRow(int row)
getDataRow in interface org.pentaho.commons.connection.IPentahoResultSet