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.mozilla.javascript.SymbolScriptable
,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:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.mozilla.javascript.ScriptableObject
org.mozilla.javascript.ScriptableObject.KeyComparator
-
Field Summary
Fields inherited from class org.mozilla.javascript.ScriptableObject
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
Fields inherited from interface org.mozilla.javascript.Scriptable
NOT_FOUND
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
close()
void
void
dispose()
int
Object[]
getDataColumn
(int column) Object[]
getDataRow
(int row) org.pentaho.commons.connection.IPentahoMetaData
int
getValueAt
(int row, int column) boolean
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
Object[]
next()
Object[]
peek()
void
setMetaData
(org.pentaho.commons.connection.IPentahoMetaData metaData) void
setResultSet
(org.pentaho.commons.connection.IPentahoResultSet pResults) toString()
Methods inherited from class org.mozilla.javascript.ScriptableObject
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureSymbolScriptable, equivalentValues, get, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, has, hasInstance, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, put, putConst, putConstProperty, putProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, size
-
Field Details
-
peekRow
-
-
Constructor Details
-
JavaScriptResultSet
public JavaScriptResultSet()
-
-
Method Details
-
setResultSet
public void setResultSet(org.pentaho.commons.connection.IPentahoResultSet pResults) -
getClassName
- Specified by:
getClassName
in interfaceorg.mozilla.javascript.Scriptable
- Specified by:
getClassName
in classorg.mozilla.javascript.ScriptableObject
-
jsFunction_getColumnCount
-
jsFunction_getRowCount
-
jsFunction_getValueAt
-
jsFunction_setColumnHeaders
-
jsFunction_addRow
-
setMetaData
public void setMetaData(org.pentaho.commons.connection.IPentahoMetaData metaData) -
addRow
-
addRow
-
toString
-
getMetaData
public org.pentaho.commons.connection.IPentahoMetaData getMetaData()- Specified by:
getMetaData
in interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
peek
- Specified by:
peek
in interfaceorg.pentaho.commons.connection.IPeekable
-
next
- Specified by:
next
in interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
close
public void close()- Specified by:
close
in interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
closeConnection
public void closeConnection()- Specified by:
closeConnection
in interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
dispose
public void dispose()- Specified by:
dispose
in interfaceorg.pentaho.commons.connection.IDisposable
-
isScrollable
public boolean isScrollable()- Specified by:
isScrollable
in interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
getColumnCount
public int getColumnCount()- Specified by:
getColumnCount
in interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
getRowCount
public int getRowCount()- Specified by:
getRowCount
in interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
getValueAt
- Specified by:
getValueAt
in interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
memoryCopy
public org.pentaho.commons.connection.IPentahoResultSet memoryCopy()- Specified by:
memoryCopy
in interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
beforeFirst
public void beforeFirst()- Specified by:
beforeFirst
in interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
getDataColumn
- Specified by:
getDataColumn
in interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
getDataRow
- Specified by:
getDataRow
in interfaceorg.pentaho.commons.connection.IPentahoResultSet
-