FunctionTable

A table backed by a system or user-defined function that returns a result set.

Methods
Index addIndex(Session session, String indexName, int indexId, IndexColumn[] cols, IndexType indexType, boolean create, String indexComment)
Index addIndex(Session session, String indexName, int indexId, IndexColumn[] cols, IndexType indexType, boolean create, String indexComment)
void addRow(Session session, Row row)
void addRow(Session session, Row row)
boolean canDrop()
boolean canDrop()
boolean canGetRowCount()
boolean canGetRowCount()
boolean canReference()
boolean canReference()
void checkRename()
void checkRename()
void checkSupportAlter()
void checkSupportAlter()
void close(Session session)
void close(Session session)
String getCreateSQL()
String getCreateSQL()
long getDiskSpaceUsed()
long getDiskSpaceUsed()
String getDropSQL()
String getDropSQL()
ArrayList getIndexes()
ArrayList getIndexes()
long getMaxDataModificationId()
long getMaxDataModificationId()
ResultInterface getResult(Session session)
Read the result from the function.
ResultInterface getResult(Session session)
Read the result from the function. This method buffers the result in a temporary file.
Parameters:
session - the session
Returns:
the result
ResultSet getResultSet(Session session)
Read the result set from the function.
ResultSet getResultSet(Session session)
Read the result set from the function. This method doesn't cache.
Parameters:
session - the session
Returns:
the result set
long getRowCount(Session session)
long getRowCount(Session session)
long getRowCountApproximation()
long getRowCountApproximation()
String getSQL()
String getSQL()
Index getScanIndex(Session session)
Index getScanIndex(Session session)
TableType getTableType()
TableType getTableType()
Index getUniqueIndex()
Index getUniqueIndex()
boolean isBufferResultSetToLocalTemp()
boolean isBufferResultSetToLocalTemp()
boolean isDeterministic()
boolean isDeterministic()
boolean isLockedExclusively()
boolean isLockedExclusively()
boolean lock(Session session, boolean exclusive, boolean forceLockEvenInMvcc)
boolean lock(Session session, boolean exclusive, boolean forceLockEvenInMvcc)
void removeRow(Session session, Row row)
void removeRow(Session session, Row row)
void truncate(Session session)
void truncate(Session session)
void unlock(Session s)
void unlock(Session s)