|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FennelDbHandle
FennelDbHandle is a public wrapper for FennelStorage, and represents a handle to a loaded Fennel database.
Method Summary | |
---|---|
FennelJavaHandle |
allocateNewObjectHandle(FarragoAllocationOwner owner,
Object obj)
Creates a native handle for a Java object for reference by XML commands. |
void |
closeAllocation()
Closes this object. |
long |
executeCmd(FemCmd cmd)
Executes a FemCmd object. |
long |
executeCmd(FemCmd cmd,
FennelExecutionHandle execHandle)
Executes a FemCmd object, associating an optional execution handle with the command. |
String |
getAccessorXmiForTupleDescriptorTraced(FemTupleDescriptor tupleDesc)
Constructs a FemTupleAccessor for a FemTupleDescriptor. |
FemDbHandle |
getFemDbHandle(FarragoMetadataFactory callerFactory)
|
FarragoMetadataFactory |
getMetadataFactory()
|
EigenbaseException |
handleNativeException(SQLException ex)
|
void |
setObjectHandle(long handle,
Object obj)
Changes the object referenced by a handle. |
Method Detail |
---|
FarragoMetadataFactory getMetadataFactory()
FemDbHandle getFemDbHandle(FarragoMetadataFactory callerFactory)
callerFactory
- override for metadataFactory
String getAccessorXmiForTupleDescriptorTraced(FemTupleDescriptor tupleDesc)
tupleDesc
- source FemTupleDescriptor
long executeCmd(FemCmd cmd)
cmd
- instance of FemCmd with all parameters set
long executeCmd(FemCmd cmd, FennelExecutionHandle execHandle)
cmd
- instance of FemCmd with all parameters setexecHandle
- the execution handle associated with the command; null
if there is no associated execution handle
FennelJavaHandle allocateNewObjectHandle(FarragoAllocationOwner owner, Object obj)
owner
- the object which will be made responsible for the handle's
allocation as a result of this callobj
- object for which to create a handle, or null to create a
placeholder handle
void setObjectHandle(long handle, Object obj)
handle
- the handle to changeobj
- new objectvoid closeAllocation()
ClosableAllocation
closeAllocation
in interface ClosableAllocation
EigenbaseException handleNativeException(SQLException ex)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |