A B C D E F G I M N O P Q R S T U V

A

addQueryEventListener(QueryEventListener) - Method in class com.seag.qm.ExecuteQuery
Adding a QueryListener
addQueryEventListener(QueryEventListener) - Method in class com.seag.qm.SqlDaemon
Adds a QueryEventListener
addToQueryEventListener(ExecuteQuery) - Method in class com.seag.qm.FutureQueryResultFactory
If a new ExecuteQuery - Thread is created, the factory should know about it.
array_ - Variable in class com.seag.util.BoundedBuffer
 

B

BoundedBuffer - class com.seag.util.BoundedBuffer.
Efficient array-based bounded buffer class.
BoundedBuffer() - Constructor for class com.seag.util.BoundedBuffer
Create a buffer with the current default capacity
BoundedBuffer(int) - Constructor for class com.seag.util.BoundedBuffer
Create a BoundedBuffer with the given capacity.
BoundedChannel - interface com.seag.util.BoundedChannel.
A channel that is known to have a capacity, signifying that put operations may block when the capacity is reached.

C

capacity() - Method in class com.seag.util.BoundedBuffer
 
capacity() - Method in interface com.seag.util.BoundedChannel
Return the maximum number of elements that can be held.
Channel - interface com.seag.util.Channel.
Main interface for buffers, queues, pipes, conduits, etc.
CharQueryParameter - class com.seag.qm.CharQueryParameter.
 
CharQueryParameter() - Constructor for class com.seag.qm.CharQueryParameter
Creating a null CharQueryParameter
CharQueryParameter(String) - Constructor for class com.seag.qm.CharQueryParameter
Creating a CharQueryParameter
CharResultParameter - class com.seag.qm.CharResultParameter.
 
CharResultParameter() - Constructor for class com.seag.qm.CharResultParameter
Creates new CharResultParameter
com.seag.qm - package com.seag.qm
 
com.seag.qm.test - package com.seag.qm.test
 
com.seag.util - package com.seag.util
 

D

DateQueryParameter - class com.seag.qm.DateQueryParameter.
 
DateQueryParameter() - Constructor for class com.seag.qm.DateQueryParameter
Creating a null DateQueryParameter
DateQueryParameter(Date) - Constructor for class com.seag.qm.DateQueryParameter
Creating a DateQueryParameter
DateQueryParameter(long) - Constructor for class com.seag.qm.DateQueryParameter
Creating a DateQueryParameter
DateResultParameter - class com.seag.qm.DateResultParameter.
 
DateResultParameter() - Constructor for class com.seag.qm.DateResultParameter
Creates new CharResultParameter
DecimalQueryParameter - class com.seag.qm.DecimalQueryParameter.
 
DecimalQueryParameter() - Constructor for class com.seag.qm.DecimalQueryParameter
Creating a null DecimalQueryParameter
DecimalQueryParameter(BigDecimal) - Constructor for class com.seag.qm.DecimalQueryParameter
Creating a DecimalQueryParameter
DecimalResultParameter - class com.seag.qm.DecimalResultParameter.
 
DecimalResultParameter() - Constructor for class com.seag.qm.DecimalResultParameter
Creates new CharResultParameter
DoQueryThread - class com.seag.qm.test.DoQueryThread.
 
DoQueryThread(SqlDaemon) - Constructor for class com.seag.qm.test.DoQueryThread
Creates new DoQueryThread

E

emptySlots_ - Variable in class com.seag.util.BoundedBuffer
 
ExecuteQuery - class com.seag.qm.ExecuteQuery.
The execution part of the QueryManager (qm)
ExecuteQuery(SqlQueue, ResultQueue, QueryErrorQueue, Connection, String, Properties) - Constructor for class com.seag.qm.ExecuteQuery
Creates new ExecuteQuery
exit() - Method in class com.seag.qm.test.DoQueryThread
 
extract() - Method in class com.seag.util.BoundedBuffer
 

F

finalize() - Method in class com.seag.qm.FutureQueryResult
Removing the listener, when the object is destroyed
FutureQueryResult - class com.seag.qm.FutureQueryResult.
If the ResultTable is requested with this class, the method "getResultTable" is waiting till the query with the spezified key is ready This Class is needed for synchronizing the asynchron queries.
FutureQueryResult() - Constructor for class com.seag.qm.FutureQueryResult
Creates new (empty) FutureQueryResult
FutureQueryResult(long) - Constructor for class com.seag.qm.FutureQueryResult
Creates new FutureQueryResult
FutureQueryResult(SqlDaemon) - Constructor for class com.seag.qm.FutureQueryResult
Creates new FutureQueryResult
FutureQueryResult(SqlDaemon, long) - Constructor for class com.seag.qm.FutureQueryResult
Creates new FutureQueryResult
FutureQueryResultFactory - class com.seag.qm.FutureQueryResultFactory.
A FutureQueryResult Object should be created whith this factory.
FutureQueryResultFactory(SqlDaemon) - Constructor for class com.seag.qm.FutureQueryResultFactory
Creates new FutureQueryResultFactory

G

get() - Method in class com.seag.qm.SqlQueue
Gets the last Queryobject from the queue
get(long) - Method in class com.seag.qm.QueryErrorQueue
Gets a QueryError from the Queue
get(long) - Method in class com.seag.qm.ResultQueue
Gets a ResultTable from the Queue
getColCount() - Method in class com.seag.qm.ResultTable
Getting number of Columns
getColumnLabel(int) - Method in class com.seag.qm.ResultTable
Getting Metadata
getColumnName(int) - Method in class com.seag.qm.ResultTable
Getting Metadata
getErrorCode() - Method in class com.seag.qm.QueryError
Return DB - errorcode
getErrorMessage() - Method in class com.seag.qm.QueryError
Returns the errorstring
getFailedSql() - Method in class com.seag.qm.QueryError
Returns guilty SQL - String
getInstance() - Static method in class com.seag.qm.SqlDaemon
Gets a Reference to the only existing Instance
getInstance(Properties) - Static method in class com.seag.qm.SqlDaemon
Gets a Reference to the only existing Instance
getKey() - Method in class com.seag.qm.QueryEvent
Get the Key of the QueryEvent
getParameterType() - Method in class com.seag.qm.QueryParameter
Stringrepresentation of the specific Parameter (e.g.
getParameterType() - Method in class com.seag.qm.CharQueryParameter
Getting the Stringrepresentation of the type of the parameter ("Character")
getParameterType() - Method in class com.seag.qm.DateQueryParameter
Getting the Stringrepresentation of the type of the parameter ("Date")
getParameterType() - Method in class com.seag.qm.DecimalQueryParameter
Getting the Stringrepresentation of the type of the parameter ("Decimal").
getParameterType() - Method in class com.seag.qm.IntegerQueryParameter
Getting the Stringrepresentation of the type of the parameter ("Integer")
getParameterType() - Method in class com.seag.qm.NullQueryParameter
Getting the Stringrepresentation of the type of the parameter ("Null")
getParameterType() - Method in class com.seag.qm.SmallintQueryParameter
Getting the Stringrepresentation of the type of the parameter ("Smallint")
getParameterType() - Method in class com.seag.qm.TimeQueryParameter
Getting the Stringrepresentation of the type of the parameter ("Time")
getParameterType() - Method in class com.seag.qm.TimestampQueryParameter
Getting the Stringrepresentation of the type of the parameter ("Timestamp")
getParameterType() - Method in class com.seag.qm.VarcharQueryParameter
Getting the Stringrepresentation of the type of the parameter ("Varchar")
getParams() - Method in class com.seag.qm.SqlQuerySpec
 
getQueryError() - Method in class com.seag.qm.FutureQueryResult
Is waiting, till query error occurs
getQueryError(long) - Method in class com.seag.qm.SqlDaemon
gets (removes it from the Queue) a QueryError
getQueryKey() - Method in class com.seag.qm.SqlQuerySpec
 
getResultParams() - Method in class com.seag.qm.SqlQuerySpec
 
getResultTable() - Method in class com.seag.qm.FutureQueryResult
Is Waiting, till the query is executed
getResultTable(long) - Method in class com.seag.qm.SqlDaemon
gets (removes it from the Queue) a ResultTable
getRowCount() - Method in class com.seag.qm.ResultTable
Getting number of Rows
getSqlString() - Method in class com.seag.qm.SqlQuerySpec
 
getSqlValue(ResultSet, int) - Method in class com.seag.qm.ResultParameter
Returns the value in the ResultSet at the specified position
getSqlValue(ResultSet, int) - Method in class com.seag.qm.CharResultParameter
Returns the result (as an object)
getSqlValue(ResultSet, int) - Method in class com.seag.qm.DateResultParameter
Returns the result (as an object)
getSqlValue(ResultSet, int) - Method in class com.seag.qm.DecimalResultParameter
Returns the result (as an object)
getSqlValue(ResultSet, int) - Method in class com.seag.qm.IntegerResultParameter
Returns the result (as an object)
getSqlValue(ResultSet, int) - Method in class com.seag.qm.SmallintResultParameter
Returns the result (as an object)
getSqlValue(ResultSet, int) - Method in class com.seag.qm.TimeResultParameter
Returns the result (as an object)
getSqlValue(ResultSet, int) - Method in class com.seag.qm.TimestampResultParameter
Returns the result (as an object)
getSqlValue(ResultSet, int) - Method in class com.seag.qm.VarcharResultParameter
Returns the result (as an object)
getValue() - Method in class com.seag.qm.QueryParameter
Gets the value of the Parameter
getValue() - Method in class com.seag.qm.DateQueryParameter
Override method, because explicite casting is needed
getValue() - Method in class com.seag.qm.TimeQueryParameter
Override method, because explicite casting is needed
getValue() - Method in class com.seag.qm.TimestampQueryParameter
Override method, because explicite casting is needed
getValueAt(int, int) - Method in class com.seag.qm.ResultTable
Getting a specific value

I

incEmptySlots() - Method in class com.seag.util.BoundedBuffer
 
incUsedSlots() - Method in class com.seag.util.BoundedBuffer
 
insert(Object) - Method in class com.seag.util.BoundedBuffer
 
IntegerQueryParameter - class com.seag.qm.IntegerQueryParameter.
 
IntegerQueryParameter() - Constructor for class com.seag.qm.IntegerQueryParameter
Creating a null IntegerQueryParameter
IntegerQueryParameter(int) - Constructor for class com.seag.qm.IntegerQueryParameter
Creating a IntegerQueryParameter
IntegerQueryParameter(Integer) - Constructor for class com.seag.qm.IntegerQueryParameter
Creating a IntegerQueryParameter
IntegerResultParameter - class com.seag.qm.IntegerResultParameter.
 
IntegerResultParameter() - Constructor for class com.seag.qm.IntegerResultParameter
Creates new CharResultParameter
isSelect() - Method in class com.seag.qm.SqlQuerySpec
 

M

main(String[]) - Static method in class com.seag.qm.test.Test
 

N

NullQueryParameter - class com.seag.qm.NullQueryParameter.
 
NullQueryParameter() - Constructor for class com.seag.qm.NullQueryParameter
A general NullQueryParameter
NullQueryParameter(String) - Constructor for class com.seag.qm.NullQueryParameter
A general NullQueryParameter

O

offer(Object, long) - Method in class com.seag.util.BoundedBuffer
 
offer(Object, long) - Method in interface com.seag.util.Channel
Place item in channel only if it can be accepted within msecs milliseconds.
offer(Object, long) - Method in interface com.seag.util.Puttable
Place item in channel only if it can be accepted within msecs milliseconds.

P

param - Variable in class com.seag.qm.QueryParameter
 
peek() - Method in class com.seag.util.BoundedBuffer
 
peek() - Method in interface com.seag.util.Channel
Return, but do not remove object at head of Channel, or null if it is empty.
poll(long) - Method in class com.seag.util.BoundedBuffer
 
poll(long) - Method in interface com.seag.util.Channel
Return and remove an item from channel only if one is available within msecs milliseconds.
poll(long) - Method in interface com.seag.util.Takable
Return and remove an item from channel only if one is available within msecs milliseconds.
pop() - Method in class com.seag.qm.FutureQueryResultFactory
Gets a FutureQueryResult Object from the Stack.
popFutureQueryResult() - Method in class com.seag.qm.SqlDaemon
gets an instance from a Future Object
push(FutureQueryResult) - Method in class com.seag.qm.FutureQueryResultFactory
Pushes an old FutureQueryResult on the Stack, for reuse.
pushFutureQueryResult(FutureQueryResult) - Method in class com.seag.qm.SqlDaemon
releases the instance of the Futueobject
put(Object) - Method in class com.seag.util.BoundedBuffer
 
put(Object) - Method in interface com.seag.util.Channel
Place item in the channel, possibly waiting indefinitely until it can be accepted.
put(Object) - Method in interface com.seag.util.Puttable
Place item in the channel, possibly waiting indefinitely until it can be accepted.
putMonitor_ - Variable in class com.seag.util.BoundedBuffer
Helper monitor to handle puts.
putPtr_ - Variable in class com.seag.util.BoundedBuffer
 
Puttable - interface com.seag.util.Puttable.
This interface exists to enable stricter type checking for channels.

Q

QmInstantiationException - exception com.seag.qm.QmInstantiationException.
 
QmInstantiationException() - Constructor for class com.seag.qm.QmInstantiationException
Creates new QmInstantiationException without detail message.
QmInstantiationException(String) - Constructor for class com.seag.qm.QmInstantiationException
Constructs an QmInstantiationException with the specified detail message.
QueryError - class com.seag.qm.QueryError.
When the execution of a Query fails, the Error Report is stored in this Object
QueryError(String, String, String) - Constructor for class com.seag.qm.QueryError
Creates new QueryError
queryErrorOccured(QueryEvent) - Method in class com.seag.qm.FutureQueryResult
Invoked when a QueryError occurs.
queryErrorOccured(QueryEvent) - Method in interface com.seag.qm.QueryEventListener
Invoked when a QueryError occurs.
QueryErrorQueue - class com.seag.qm.QueryErrorQueue.
Here are all QueryErrors stored
QueryErrorQueue() - Constructor for class com.seag.qm.QueryErrorQueue
Creating new QueryErrorQueue
QueryEvent - class com.seag.qm.QueryEvent.
 
QueryEvent(Object, long) - Constructor for class com.seag.qm.QueryEvent
Creats a new QueryEvent
QueryEventListener - interface com.seag.qm.QueryEventListener.
 
QueryParameter - class com.seag.qm.QueryParameter.
 
QueryParameter() - Constructor for class com.seag.qm.QueryParameter
Creats new QueryParameter
QueryParameter(Object) - Constructor for class com.seag.qm.QueryParameter
Creats new QueryParameter
queryPerformed(QueryEvent) - Method in class com.seag.qm.FutureQueryResult
Invoked when a Query is ready.
queryPerformed(QueryEvent) - Method in interface com.seag.qm.QueryEventListener
Invoked when action occurs.
QueueFullException - exception com.seag.qm.QueueFullException.
 
QueueFullException() - Constructor for class com.seag.qm.QueueFullException
Creates new QueueFullException without detail message.
QueueFullException(String) - Constructor for class com.seag.qm.QueueFullException
Constructs an QueueFullException with the specified detail message.

R

reinit(long) - Method in class com.seag.qm.FutureQueryResult
For reuse
reinit(ResultSet, ResultParameter[]) - Method in class com.seag.qm.ResultTable
 
removeQueryEventListener(QueryEventListener) - Method in class com.seag.qm.ExecuteQuery
Removing a QueryListener
removeQueryEventListener(QueryEventListener) - Method in class com.seag.qm.SqlDaemon
Removes a QueryEventListener
ResultParameter - class com.seag.qm.ResultParameter.
 
ResultParameter() - Constructor for class com.seag.qm.ResultParameter
Creates new ResultParameter
ResultQueue - class com.seag.qm.ResultQueue.
 
ResultQueue() - Constructor for class com.seag.qm.ResultQueue
Creats nes ResultQueue
ResultTable - class com.seag.qm.ResultTable.
This Object stores the result, given in the, from the DB returned ResultSet
ResultTable() - Constructor for class com.seag.qm.ResultTable
Create new empty ResultTable
ResultTable(ResultSet, ResultParameter[]) - Constructor for class com.seag.qm.ResultTable
Creat new ResultTable
run() - Method in class com.seag.qm.test.DoQueryThread
Run- Methode des Threads
run() - Method in class com.seag.qm.ExecuteQuery
Run- Method of the Thread

S

set(long, QueryError) - Method in class com.seag.qm.QueryErrorQueue
Puts a QueryErro into the queue
set(long, ResultTable[]) - Method in class com.seag.qm.ResultQueue
Puts a ResultTable into the queue
set(SqlQuerySpec) - Method in class com.seag.qm.SqlQueue
Sets a new Queryobject at the end of the queue
setParameter(PreparedStatement, int) - Method in class com.seag.qm.QueryParameter
Must be implemented by the derived Object
setParameter(PreparedStatement, int) - Method in class com.seag.qm.CharQueryParameter
This Method is needed by the ExecuteQuery Class
setParameter(PreparedStatement, int) - Method in class com.seag.qm.DateQueryParameter
This Method is needed by the ExecuteQuery Class
setParameter(PreparedStatement, int) - Method in class com.seag.qm.DecimalQueryParameter
This Method is needed by the ExecuteQuery Class
setParameter(PreparedStatement, int) - Method in class com.seag.qm.IntegerQueryParameter
This Method is needed by the ExecuteQuery Class
setParameter(PreparedStatement, int) - Method in class com.seag.qm.NullQueryParameter
This Method is needed by the ExecuteQuery Class.
setParameter(PreparedStatement, int) - Method in class com.seag.qm.SmallintQueryParameter
This Method is needed by the ExecuteQuery Class
setParameter(PreparedStatement, int) - Method in class com.seag.qm.TimeQueryParameter
This Method is needed by the ExecuteQuery Class
setParameter(PreparedStatement, int) - Method in class com.seag.qm.TimestampQueryParameter
This Method is needed by the ExecuteQuery Class
setParameter(PreparedStatement, int) - Method in class com.seag.qm.VarcharQueryParameter
This Method is needed by the ExecuteQuery Class
setQueryKey(long) - Method in class com.seag.qm.SqlQuerySpec
 
setThread(int) - Method in class com.seag.qm.ExecuteQuery
Setting the threadidentifier
setValue(Object) - Method in class com.seag.qm.QueryParameter
Method is called by the ExecuteQuery Object
size() - Method in class com.seag.util.BoundedBuffer
Return the number of elements in the buffer.
SmallintQueryParameter - class com.seag.qm.SmallintQueryParameter.
 
SmallintQueryParameter() - Constructor for class com.seag.qm.SmallintQueryParameter
Creating a null SmallintQueryParameter
SmallintQueryParameter(int) - Constructor for class com.seag.qm.SmallintQueryParameter
Creating a SmallintQueryParameter
SmallintQueryParameter(short) - Constructor for class com.seag.qm.SmallintQueryParameter
Creating a SmallintQueryParameter
SmallintQueryParameter(Short) - Constructor for class com.seag.qm.SmallintQueryParameter
Creating a SmallintQueryParameter
SmallintResultParameter - class com.seag.qm.SmallintResultParameter.
 
SmallintResultParameter() - Constructor for class com.seag.qm.SmallintResultParameter
Creates new CharResultParameter
SqlDaemon - class com.seag.qm.SqlDaemon.
This object exists only once (singleton) It puts every query into a queue, and executes the query from the queue.
SqlQuerySpec - class com.seag.qm.SqlQuerySpec.
 
SqlQuerySpec(String[], boolean[], QueryParameter[][], ResultParameter[][]) - Constructor for class com.seag.qm.SqlQuerySpec
 
SqlQuerySpec(String, boolean, QueryParameter[]) - Constructor for class com.seag.qm.SqlQuerySpec
 
SqlQuerySpec(String, boolean, QueryParameter[], ResultParameter[]) - Constructor for class com.seag.qm.SqlQuerySpec
 
SqlQuerySpec(String, boolean, ResultParameter[]) - Constructor for class com.seag.qm.SqlQuerySpec
 
SqlQueue - class com.seag.qm.SqlQueue.
 
SqlQueue() - Constructor for class com.seag.qm.SqlQueue
Creates new SqlQueue
submitQuery(SqlQuerySpec) - Method in class com.seag.qm.SqlDaemon
Put ing a Query into the Queue, and getting a long key for the Result.

T

Takable - interface com.seag.util.Takable.
This interface exists to enable stricter type checking for channels.
take() - Method in class com.seag.util.BoundedBuffer
 
take() - Method in interface com.seag.util.Channel
Return and remove an item from channel, possibly waiting indefinitely until such an item exists.
take() - Method in interface com.seag.util.Takable
Return and remove an item from channel, possibly waiting indefinitely until such an item exists.
takePtr_ - Variable in class com.seag.util.BoundedBuffer
 
Test - class com.seag.qm.test.Test.
Diese Klasse dient zum Testen des QueryManager.
Test() - Constructor for class com.seag.qm.test.Test
Creates new Test
TimeQueryParameter - class com.seag.qm.TimeQueryParameter.
 
TimeQueryParameter() - Constructor for class com.seag.qm.TimeQueryParameter
Creating a null TimeQueryParameter
TimeQueryParameter(long) - Constructor for class com.seag.qm.TimeQueryParameter
Creating a TimeQueryParameter
TimeQueryParameter(Time) - Constructor for class com.seag.qm.TimeQueryParameter
Creating a TimeQueryParameter
TimeResultParameter - class com.seag.qm.TimeResultParameter.
 
TimeResultParameter() - Constructor for class com.seag.qm.TimeResultParameter
Creates new CharResultParameter
TimestampQueryParameter - class com.seag.qm.TimestampQueryParameter.
 
TimestampQueryParameter() - Constructor for class com.seag.qm.TimestampQueryParameter
Creating a null TimestampQueryParameter
TimestampQueryParameter(long) - Constructor for class com.seag.qm.TimestampQueryParameter
Creating a TimestampQueryParameter
TimestampQueryParameter(Timestamp) - Constructor for class com.seag.qm.TimestampQueryParameter
Creating a TimestampQueryParameter
TimestampResultParameter - class com.seag.qm.TimestampResultParameter.
 
TimestampResultParameter() - Constructor for class com.seag.qm.TimestampResultParameter
Creates new CharResultParameter

U

usedSlots_ - Variable in class com.seag.util.BoundedBuffer
 

V

VarcharQueryParameter - class com.seag.qm.VarcharQueryParameter.
 
VarcharQueryParameter() - Constructor for class com.seag.qm.VarcharQueryParameter
Creating a null VarcharQueryParameter
VarcharQueryParameter(String) - Constructor for class com.seag.qm.VarcharQueryParameter
Creating a TimestampQueryParameter
VarcharResultParameter - class com.seag.qm.VarcharResultParameter.
 
VarcharResultParameter() - Constructor for class com.seag.qm.VarcharResultParameter
Creates new CharResultParameter

A B C D E F G I M N O P Q R S T U V