net.sf.farrago.runtime
Class NativeRuntimeContext.StreamDescriptor
java.lang.Object
net.sf.farrago.runtime.NativeRuntimeContext.StreamDescriptor
- Enclosing class:
- NativeRuntimeContext
private class NativeRuntimeContext.StreamDescriptor
- extends Object
StreamDescriptor represents a unique Fennel error source. Each instance
has it's own error tag and record format.
Method Summary |
Object |
postError(boolean isWarning,
String msg,
ByteBuffer byteBuffer,
int index)
Builds an error record and posts an error with the runtime context |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
runtimeContext
private final FarragoRuntimeContext runtimeContext
tag
private final String tag
tupleData
private final FennelTupleData tupleData
tupleAccessor
private final FennelTupleAccessor tupleAccessor
columnNames
private final String[] columnNames
columnValues
private final Object[] columnValues
metadata
private final ResultSetMetaData metadata
NativeRuntimeContext.StreamDescriptor
public NativeRuntimeContext.StreamDescriptor(FarragoRuntimeContext runtimeContext,
String source)
- Constructs a StreamDescriptor
- Parameters:
runtimeContext
- reference to the runtime contextsource
- name of the Fennel error source
postError
public Object postError(boolean isWarning,
String msg,
ByteBuffer byteBuffer,
int index)
- Builds an error record and posts an error with the runtime context
- See Also:
for a description of the
parameters