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
FieldsFields inherited from class org.mozilla.javascript.ScriptableObject
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONSTFields inherited from interface org.mozilla.javascript.Scriptable
NOT_FOUND -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidclose()voidvoiddispose()intObject[]getDataColumn(int column) Object[]getDataRow(int row) org.pentaho.commons.connection.IPentahoMetaDataintgetValueAt(int row, int column) booleanstatic 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.IPentahoResultSetObject[]next()Object[]peek()voidsetMetaData(org.pentaho.commons.connection.IPentahoMetaData metaData) voidsetResultSet(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:
getClassNamein interfaceorg.mozilla.javascript.Scriptable- Specified by:
getClassNamein 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:
getMetaDatain interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
peek
- Specified by:
peekin interfaceorg.pentaho.commons.connection.IPeekable
-
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
- 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
- Specified by:
getDataColumnin interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
getDataRow
- Specified by:
getDataRowin interfaceorg.pentaho.commons.connection.IPentahoResultSet
-