butler.sql.query
Class ScriptQuery

java.lang.Object
  extended bybutler.sql.query.Query
      extended bybutler.sql.query.ScriptQuery

public class ScriptQuery
extends Query

Programatic query that is based on a jython script.

Author:
Fredrik Bertilsson

Nested Class Summary
 
Nested classes inherited from class butler.sql.query.Query
Query.SQLBuilder
 
Field Summary
 
Fields inherited from class butler.sql.query.Query
_cols, _comparator, _filter, _table, _uniqueSort
 
Constructor Summary
ScriptQuery(java.lang.String name)
           
 
Method Summary
 QueryInstance createInstance()
          Creates a instance of this query.
 Filter getFilter()
          Returns the filter.
 void setDirectory(java.lang.String dir)
           
 
Methods inherited from class butler.sql.query.Query
addColumn, addColumn, addFunctionColumn, addSortCriteria, addSortCriteria, addSortCriteria, addSortCriteria, addSubQuery, checkPermission, createTableDictonary, getColumn, getColumns, getComparator, getFilter, getFilterMap, getHaving, getJoinByAlias, getJoins, getMainTable, getMaxNoOfRecords, getName, getPhysicalColumns, getSortCriterias, getSQL, getSubQueries, getTable, getUnions, isNested, isUnion, isUniqueSort, join, join, join, join, newIterator, outerJoin, outerJoin, outerJoin, parse, parse, parseQuery, recursiveJoin, registerFilter, registerJoin, replaceFilter, run, setAggregate, setDistinct, setFilter, setHaving, setMaxNoOfRecords, setName, setNested, setRecordComparator, setSortCriterias, setUnion, setUniqueSort, toXML, toXML, union
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptQuery

public ScriptQuery(java.lang.String name)
            throws java.lang.Exception
Method Detail

setDirectory

public void setDirectory(java.lang.String dir)

getFilter

public Filter getFilter()
                 throws java.lang.Exception
Description copied from class: Query
Returns the filter.

Overrides:
getFilter in class Query
Throws:
java.lang.Exception

createInstance

public QueryInstance createInstance()
                             throws java.lang.Exception
Description copied from class: Query
Creates a instance of this query.

Overrides:
createInstance in class Query
Throws:
java.lang.Exception