Class JavaScriptResultSet
- java.lang.Object
-
- org.mozilla.javascript.ScriptableObject
-
- org.pentaho.platform.plugin.services.connections.javascript.JavaScriptResultSet
-
- All Implemented Interfaces:
Serializable,org.mozilla.javascript.ConstProperties,org.mozilla.javascript.debug.DebuggableObject,org.mozilla.javascript.Scriptable,org.pentaho.commons.connection.IDisposable,org.pentaho.commons.connection.IPeekable,org.pentaho.commons.connection.IPentahoResultSet
public class JavaScriptResultSet extends org.mozilla.javascript.ScriptableObject implements org.pentaho.commons.connection.IPentahoResultSet, org.pentaho.commons.connection.IPeekable- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JavaScriptResultSet()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRow(Object[] row)voidaddRow(String[] row)voidbeforeFirst()voidclose()voidcloseConnection()voiddispose()StringgetClassName()intgetColumnCount()Object[]getDataColumn(int column)Object[]getDataRow(int row)org.pentaho.commons.connection.IPentahoMetaDatagetMetaData()intgetRowCount()ObjectgetValueAt(int row, int column)booleanisScrollable()static ObjectjsFunction_addRow(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function funObj)static ObjectjsFunction_getColumnCount(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function funObj)static ObjectjsFunction_getRowCount(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function funObj)static ObjectjsFunction_getValueAt(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function funObj)static ObjectjsFunction_setColumnHeaders(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function funObj)org.pentaho.commons.connection.IPentahoResultSetmemoryCopy()Object[]next()Object[]peek()voidsetMetaData(org.pentaho.commons.connection.IPentahoMetaData metaData)voidsetResultSet(org.pentaho.commons.connection.IPentahoResultSet pResults)StringtoString()-
Methods inherited from class org.mozilla.javascript.ScriptableObject
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
-
-
-
-
Field Detail
-
peekRow
protected Object[] peekRow
-
-
Method Detail
-
setResultSet
public void setResultSet(org.pentaho.commons.connection.IPentahoResultSet pResults)
-
getClassName
public String getClassName()
- Specified by:
getClassNamein interfaceorg.mozilla.javascript.Scriptable- Specified by:
getClassNamein classorg.mozilla.javascript.ScriptableObject
-
jsFunction_getColumnCount
public static Object jsFunction_getColumnCount(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function funObj)
-
jsFunction_getRowCount
public static Object jsFunction_getRowCount(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function funObj)
-
jsFunction_getValueAt
public static Object jsFunction_getValueAt(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function funObj)
-
jsFunction_setColumnHeaders
public static Object jsFunction_setColumnHeaders(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function funObj)
-
jsFunction_addRow
public static Object jsFunction_addRow(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function funObj)
-
setMetaData
public void setMetaData(org.pentaho.commons.connection.IPentahoMetaData metaData)
-
addRow
public void addRow(String[] row)
-
addRow
public void addRow(Object[] row)
-
getMetaData
public org.pentaho.commons.connection.IPentahoMetaData getMetaData()
- Specified by:
getMetaDatain interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
peek
public Object[] peek()
- Specified by:
peekin interfaceorg.pentaho.commons.connection.IPeekable
-
next
public Object[] next()
- Specified by:
nextin interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
close
public void close()
- Specified by:
closein interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
closeConnection
public void closeConnection()
- Specified by:
closeConnectionin interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
dispose
public void dispose()
- Specified by:
disposein interfaceorg.pentaho.commons.connection.IDisposable
-
isScrollable
public boolean isScrollable()
- Specified by:
isScrollablein interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCountin interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
getRowCount
public int getRowCount()
- Specified by:
getRowCountin interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
getValueAt
public Object getValueAt(int row, int column)
- Specified by:
getValueAtin interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
memoryCopy
public org.pentaho.commons.connection.IPentahoResultSet memoryCopy()
- Specified by:
memoryCopyin interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
beforeFirst
public void beforeFirst()
- Specified by:
beforeFirstin interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
getDataColumn
public Object[] getDataColumn(int column)
- Specified by:
getDataColumnin interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
getDataRow
public Object[] getDataRow(int row)
- Specified by:
getDataRowin interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
-