public class SMultipleDataEntry extends java.lang.Object implements SDatabaseEntryBase
SDatabaseEntry
s returned by a
single SDatabase
or SCursor
get call.Constructor and Description |
---|
SMultipleDataEntry()
Construct a SMultipleDataEntry with no data entries.
|
Modifier and Type | Method and Description |
---|---|
void |
append(byte[] data)
Append an entry to the bulk buffer.
|
int |
getBatchSize()
Return the amount of data to be returned in a single get() call.
|
boolean |
next(SDatabaseEntry data)
Get the next data element in the returned set.
|
void |
setBatchSize(int batchSize)
When used as an output argument to a database or cursor get() call, set
the amount of data (in total bytes) to be returned.
|
public SMultipleDataEntry()
public int getBatchSize()
public void setBatchSize(int batchSize)
This method is only advisory. The exact amount of data returned may be more or less than the amount specified.
batchSize
- the amount of data to be returned in a single get()
callpublic void append(byte[] data)
data
- the record to be appendedpublic boolean next(SDatabaseEntry data)
SDatabase
or SCursor
get method with this object as the data parameter.
When used with the Queue and Recno access methods, data.getData() will return null for deleted records
data
- an entry that is set to refer to the next data element in
the returned setCopyright (c) 2016, 2019 Oracle and/or its affiliates. All rights reserved.