public interface StreamContainerHandle
Modifier and Type | Field and Description |
---|---|
static int |
TEMPORARY_SEGMENT |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close me.
|
boolean |
fetchNext(DataValueDescriptor[] row)
Fetch the next record.
|
void |
getContainerProperties(java.util.Properties prop)
Request the system properties associated with a container.
|
ContainerKey |
getId()
Return my identifier.
|
void |
removeContainer()
remove the stream container
|
static final int TEMPORARY_SEGMENT
ContainerKey getId()
void getContainerProperties(java.util.Properties prop) throws StandardException
Request the value of properties that are associated with a stream table. The following properties can be requested: derby.storage.streamFileBufferSize
To get the value of a particular property add it to the property list, and on return the value of the property will be set to it's current value. For example: get_prop(ConglomerateController cc) { Properties prop = new Properties(); prop.put("derby.storage.streamFileBufferSize", ""); cc.getTableProperties(prop); System.out.println( "table's buffer size = " + prop.getProperty("derby.storage.streamFileBufferSize"); }
prop
- Property list to fill in.StandardException
- Standard exception policy.boolean fetchNext(DataValueDescriptor[] row) throws StandardException
Locking Policy
No locks.
row
- Row to be filled in with information from the record.StandardException
- Standard Derby error policyvoid close()
ref.close(); ref = null;
void removeContainer() throws StandardException
StandardException
- Standard Derby error policyApache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.