public class JavaScriptResultSet
extends org.mozilla.javascript.ScriptableObject
implements org.pentaho.commons.connection.IPentahoResultSet, org.pentaho.commons.connection.IPeekable
Modifier and Type | Field and Description |
---|---|
protected Object[] |
peekRow |
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() |
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, equivalentValues, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasInstance, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype, size
protected Object[] peekRow
public void setResultSet(org.pentaho.commons.connection.IPentahoResultSet pResults)
public String getClassName()
getClassName
in interface org.mozilla.javascript.Scriptable
getClassName
in class org.mozilla.javascript.ScriptableObject
public 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.IPentahoResultSet
public Object[] peek()
peek
in interface org.pentaho.commons.connection.IPeekable
public Object[] next()
next
in interface org.pentaho.commons.connection.IPentahoResultSet
public void close()
close
in interface org.pentaho.commons.connection.IPentahoResultSet
public void closeConnection()
closeConnection
in interface org.pentaho.commons.connection.IPentahoResultSet
public void dispose()
dispose
in interface org.pentaho.commons.connection.IDisposable
public boolean isScrollable()
isScrollable
in interface org.pentaho.commons.connection.IPentahoResultSet
public int getColumnCount()
getColumnCount
in interface org.pentaho.commons.connection.IPentahoResultSet
public int getRowCount()
getRowCount
in interface org.pentaho.commons.connection.IPentahoResultSet
public Object getValueAt(int row, int column)
getValueAt
in interface org.pentaho.commons.connection.IPentahoResultSet
public org.pentaho.commons.connection.IPentahoResultSet memoryCopy()
memoryCopy
in interface org.pentaho.commons.connection.IPentahoResultSet
public void beforeFirst()
beforeFirst
in interface org.pentaho.commons.connection.IPentahoResultSet
public Object[] getDataColumn(int column)
getDataColumn
in interface org.pentaho.commons.connection.IPentahoResultSet
public Object[] getDataRow(int row)
getDataRow
in interface org.pentaho.commons.connection.IPentahoResultSet
Copyright © 2021 Hitachi Vantara. All rights reserved.