public class ResultSetWireIn extends Object implements WireIn
WireIn.HeaderType| Constructor and Description |
|---|
ResultSetWireIn(ResultSet resultSet) |
| Modifier and Type | Method and Description |
|---|---|
net.openhft.chronicle.bytes.Bytes<?> |
bytes() |
net.openhft.chronicle.core.pool.ClassLookup |
classLookup() |
void |
classLookup(net.openhft.chronicle.core.pool.ClassLookup classLookup)
Define how classes should be looked up.
|
void |
clear()
reset the state of the current wire for reuse.
|
void |
consumePadding() |
void |
copyTo(WireOut wire) |
boolean |
endUse()
Check the Wire was not used by another thread.
|
ValueIn |
getValueIn()
Obtain the value in (for internal use)
|
boolean |
hasMore() |
long |
headerNumber() |
WireOut |
headerNumber(long headerNumber) |
net.openhft.chronicle.core.values.IntValue |
newIntReference() |
net.openhft.chronicle.core.values.LongArrayValues |
newLongArrayReference() |
net.openhft.chronicle.core.values.LongValue |
newLongReference() |
ObjectInput |
objectInput() |
Object |
parent()
Obtain the parent class of this wire if there is one
|
void |
parent(Object parent)
Assign a parent object to this wire for later retrieval.
|
net.openhft.chronicle.threads.Pauser |
pauser() |
void |
pauser(net.openhft.chronicle.threads.Pauser pauser) |
ValueIn |
read()
Read the field if present, or empty string if not present.
|
ValueIn |
read(StringBuilder name)
Read the field if present, or empty string if not present.
|
ValueIn |
read(WireKey key)
Read the field if present which must match the WireKey.
|
void |
readAndSetLength(long position) |
WireIn |
readComment(StringBuilder sb) |
WireIn.HeaderType |
readDataHeader(boolean includeMetaData) |
<K> K |
readEvent(Class<K> expectedClass)
Read a field which might be an object of any type.
|
void |
readFirstHeader(long timeout,
TimeUnit timeUnit) |
DocumentContext |
readingDocument()
equivalent to
WireIn.readDocument(net.openhft.chronicle.wire.ReadMarshallable,
net.openhft.chronicle.wire.ReadMarshallable) but with out the use of a lambda expression |
DocumentContext |
readingDocument(long readLocation) |
void |
readMetaDataHeader() |
boolean |
startUse()
Used to check that the wire is being used by only one thread
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasText, rawReadData, read, readAlignTo, readAllAsMap, readDataHeader, readDocument, readDocument, readEventNamenotCompleteIsNotPresent, notCompleteIsNotPresentpublic ResultSetWireIn(ResultSet resultSet) throws SQLException
SQLExceptionpublic void clear()
WireCommonclear in interface WireCommonclear in interface WireIn@NotNull public ValueIn read()
WireIn@NotNull public ValueIn read(@NotNull WireKey key)
WireIn@NotNull public ValueIn read(@NotNull StringBuilder name)
WireInpublic <K> K readEvent(Class<K> expectedClass)
WireIn@NotNull public ValueIn getValueIn()
WireIngetValueIn in interface WireIn@NotNull public WireIn readComment(@NotNull StringBuilder sb)
readComment in interface WireInpublic boolean hasMore()
public DocumentContext readingDocument()
WireInWireIn.readDocument(net.openhft.chronicle.wire.ReadMarshallable,
net.openhft.chronicle.wire.ReadMarshallable) but with out the use of a lambda expressionreadingDocument in interface WireInpublic DocumentContext readingDocument(long readLocation)
readingDocument in interface WireInpublic void consumePadding()
consumePadding in interface WireInpublic WireIn.HeaderType readDataHeader(boolean includeMetaData) throws EOFException
readDataHeader in interface WireInEOFExceptionpublic void readAndSetLength(long position)
readAndSetLength in interface WireInpublic void readFirstHeader(long timeout,
TimeUnit timeUnit)
throws TimeoutException,
StreamCorruptedException
readFirstHeader in interface WireInTimeoutExceptionStreamCorruptedExceptionpublic void readMetaDataHeader()
readMetaDataHeader in interface WireInpublic void classLookup(net.openhft.chronicle.core.pool.ClassLookup classLookup)
WireCommonclassLookup in interface WireCommonclassLookup - to usepublic net.openhft.chronicle.core.pool.ClassLookup classLookup()
classLookup in interface WireCommonpublic void pauser(net.openhft.chronicle.threads.Pauser pauser)
pauser in interface WireCommonpauser - to use for blocking operations.public net.openhft.chronicle.threads.Pauser pauser()
pauser in interface WireCommon@NotNull public net.openhft.chronicle.bytes.Bytes<?> bytes()
bytes in interface WireCommon@NotNull public net.openhft.chronicle.core.values.IntValue newIntReference()
newIntReference in interface WireCommon@NotNull public net.openhft.chronicle.core.values.LongValue newLongReference()
newLongReference in interface WireCommon@NotNull public net.openhft.chronicle.core.values.LongArrayValues newLongArrayReference()
newLongArrayReference in interface WireCommonpublic Object parent()
WireCommonparent in interface WireCommonpublic void parent(Object parent)
WireCommonparent in interface WireCommonparent - to set, or null if there isn't one.public boolean startUse()
WireCommonstartUse in interface WireCommonpublic boolean endUse()
WireCommonendUse in interface WireCommonpublic WireOut headerNumber(long headerNumber)
headerNumber in interface WireCommonpublic long headerNumber()
headerNumber in interface WireCommonpublic ObjectInput objectInput()
objectInput in interface WireInCopyright © 2016. All rights reserved.