butler.sql.metadata
Class VirtualTable
java.lang.Object
butler.util.BaseGroovyObjectSupport
butler.sql.metadata.Table
butler.sql.metadata.VirtualTable
- All Implemented Interfaces:
- groovy.lang.GroovyObject
public abstract class VirtualTable
- extends Table
- Author:
- Fredrik Bertilsson
Methods inherited from class butler.sql.metadata.Table |
addForeignKey, addIndex, addRecord, addRecordListener, addRelation, copy, create, createColumn, createColumn, createColumn, createColumn, createColumn, createColumn, createDeleteQuery, createRecord, drop, equals, equals, exists, findAll, findByPK, findByPK, findByPK0, findByPKIfExists, findByPKIfExists, getAuthorizator, getCaption, getColumn, getColumns, getDatabase, getDataColumns, getExportedForeignKeys, getForeignKey, getForeignKey, getForeignKeyNames, getForeignKeys, getImportedForeignKeys, getIndex, getIndexes, getLocalizedCaption, getLogicalColumns, getName, getPath, getPhysicalColumns, getPhysicalName, getPrimaryKeyColumns, getProperty, getQualifiedName, getQuery, getRecordComparator, getRecordListeners, getRelation, getSchema, getTable, getTable, getValidator, hashCode, invokeMethod, isDummy, loadFKs, newRecord, registerColumn, registerQuery, setAuthorizator, setRecordComparator, setSchema, setValidator, toXML, unload, upgrade |
Methods inherited from class butler.util.BaseGroovyObjectSupport |
getMetaClass, setMetaClass, setProperty |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
VirtualTable
public VirtualTable(java.lang.String name,
Schema schema)
addVirtualColumn
public void addVirtualColumn(java.lang.String name,
Datatype datatype)
throws java.lang.Exception
- Throws:
java.lang.Exception
addVirtualColumn
public void addVirtualColumn(java.lang.String name,
java.lang.String caption,
Datatype datatype)
throws java.lang.Exception
- Throws:
java.lang.Exception
virtualSave
public abstract void virtualSave(Record rec)
throws java.lang.Exception
- Throws:
java.lang.Exception
virtualDelete
public abstract void virtualDelete(Record rec)
throws java.lang.Exception
- Throws:
java.lang.Exception
virtualRun
public abstract RecordList virtualRun(QueryInstance qi)
throws java.lang.Exception
- Throws:
java.lang.Exception
createQuery
public Query createQuery()
throws java.lang.Exception
- Description copied from class:
Table
- Creates a query with this table as the main table.
- Overrides:
createQuery
in class Table
- Throws:
java.lang.Exception
load
protected void load()
- Overrides:
load
in class Table
loadAll
protected void loadAll()
- Overrides:
loadAll
in class Table