Package ru.curs.celesta.dbutils
Class CsqlBasicDataAccessor<T extends ICallContext>
- java.lang.Object
-
- ru.curs.celesta.dbutils.CsqlBasicDataAccessor<T>
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Direct Known Subclasses:
BasicDataAccessor
public abstract class CsqlBasicDataAccessor<T extends ICallContext> extends Object implements Closeable
-
-
Constructor Summary
Constructors Constructor Description CsqlBasicDataAccessor(T context)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description T
callContext()
Returns call context that current cursor is created in.abstract void
clear()
void
close()
Closes data accessor if it hasn't been closed already.boolean
isClosed()
Whether data accessor object is closed.abstract GrainElement
meta()
Metadata object (table, view or sequence) on the basis of which current data object was created.
-
-
-
Constructor Detail
-
CsqlBasicDataAccessor
public CsqlBasicDataAccessor(T context)
-
-
Method Detail
-
callContext
public final T callContext()
Returns call context that current cursor is created in.
-
isClosed
public boolean isClosed()
Whether data accessor object is closed.
-
close
public final void close()
Closes data accessor if it hasn't been closed already.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
clear
public abstract void clear()
-
meta
public abstract GrainElement meta()
Metadata object (table, view or sequence) on the basis of which current data object was created.
-
-