|
|||||||||
| Home >> All >> com >> rohanclan >> ashpool >> [ core overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.rohanclan.ashpool.core
Class CommandManager

java.lang.Objectcom.rohanclan.ashpool.core.CommandManager
- public class CommandManager
- extends java.lang.Object
Tries to figure out what the requested action really wants, and most often returns a AResultSet object.
| Field Summary | |
private BasicXSLEngine |
bXSL
|
private CreateFilter |
cf
|
private InsertFilter |
inf
|
private AResultSet |
queryresults
|
private SelectFilter |
sf
|
private static byte |
SQL_TYPE
|
private TableManager |
tableman
handle to the tablemanager (for physical file changes) |
private static byte |
XSL_TYPE
|
| Constructor Summary | |
CommandManager()
Creates a new instance of CommandManager |
|
| Method Summary | |
private void |
_dropTable(java.lang.String tablename)
drops a table from the datastore |
AResultSet |
executeSQLStatement(java.lang.String query)
execute an sql style query. |
AResultSet |
executeStatement(java.lang.String query)
sql type query |
AResultSet |
executeXPathStatement(java.lang.String query)
|
CreateFilter |
getCreateFilter()
gets the create filter |
InsertFilter |
getInsertFilter()
gets the Insert filter |
SelectFilter |
getSelectFilter()
gets the select filter |
TableManager |
getTableManager()
gets the table manager |
void |
setTableManager(TableManager tman)
get access to the table manager |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
SQL_TYPE
private static final byte SQL_TYPE
- See Also:
- Constant Field Values
XSL_TYPE
private static final byte XSL_TYPE
- See Also:
- Constant Field Values
sf
private SelectFilter sf
cf
private CreateFilter cf
inf
private InsertFilter inf
queryresults
private AResultSet queryresults
bXSL
private BasicXSLEngine bXSL
tableman
private TableManager tableman
- handle to the tablemanager (for physical file changes)
| Constructor Detail |
CommandManager
public CommandManager()
- Creates a new instance of CommandManager
| Method Detail |
setTableManager
public void setTableManager(TableManager tman) throws java.lang.Exception
- get access to the table manager
getSelectFilter
public SelectFilter getSelectFilter()
- gets the select filter
getCreateFilter
public CreateFilter getCreateFilter()
- gets the create filter
getInsertFilter
public InsertFilter getInsertFilter()
- gets the Insert filter
getTableManager
public TableManager getTableManager()
- gets the table manager
executeXPathStatement
public AResultSet executeXPathStatement(java.lang.String query) throws java.lang.Exception
executeSQLStatement
public AResultSet executeSQLStatement(java.lang.String query) throws java.lang.Exception
- execute an sql style query. Try to figure out the needed filter, and
send the command to that filter. This may be a bit short sighted
depending on how crazy I want to let the sql statments get
executeStatement
public AResultSet executeStatement(java.lang.String query) throws java.lang.Exception
- sql type query
_dropTable
private void _dropTable(java.lang.String tablename)
- drops a table from the datastore
|
|||||||||
| Home >> All >> com >> rohanclan >> ashpool >> [ core overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.rohanclan.ashpool.core.CommandManager