public class ResultSetWireIn extends Object implements WireIn, net.openhft.chronicle.bytes.BytesComment
WireIn.HeaderType| Constructor and Description |
|---|
ResultSetWireIn(ResultSet resultSet) |
| Modifier and Type | Method and Description |
|---|---|
net.openhft.chronicle.bytes.Bytes<?> |
bytes() |
net.openhft.chronicle.bytes.BytesComment<?> |
bytesComment() |
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)
|
long |
headerNumber() |
WireOut |
headerNumber(long headerNumber) |
boolean |
isEmpty() |
net.openhft.chronicle.core.values.BooleanValue |
newBooleanReference() |
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.
|
long |
readEventNumber() |
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) |
String |
readingPeekYaml() |
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, hasMore, isNotEmptyAfterPadding, rawReadData, read, readAlignTo, readAllAsMap, readDataHeader, readDocument, readDocument, readEventNamenewTwoLongReference, notCompleteIsNotPresent, notCompleteIsNotPresentmethodReader, methodReaderBuilder, readBytes, readBytes, readDocument, readMap, readText, readTextpublic ResultSetWireIn(@NotNull
ResultSet resultSet)
throws SQLException
SQLExceptionpublic void clear()
WireCommonclear in interface WireCommonclear in interface WireInpublic long readEventNumber()
readEventNumber in interface WireIn@NotNull public ValueIn read()
WireIn@NotNull public ValueIn read(@NotNull WireKey key)
WireIn@NotNull public ValueIn read(@NotNull StringBuilder name)
WireIn@Nullable public <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 WireIn@NotNull 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 MarshallableInreadingDocument in interface WireIn@NotNull public DocumentContext readingDocument(long readLocation)
readingDocument in interface WireInpublic void consumePadding()
consumePadding in interface WireIn@NotNull public 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 WireIn@NotNull public String readingPeekYaml()
readingPeekYaml in interface WireInpublic void classLookup(net.openhft.chronicle.core.pool.ClassLookup classLookup)
WireCommonclassLookup in interface WireCommonclassLookup - to use@NotNull public 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.@NotNull public net.openhft.chronicle.threads.Pauser pauser()
pauser in interface WireCommon@NotNull public net.openhft.chronicle.bytes.Bytes<?> bytes()
bytes in interface WireCommonpublic net.openhft.chronicle.bytes.BytesComment<?> bytesComment()
bytesComment 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 WireCommon@NotNull public WireOut headerNumber(long headerNumber)
headerNumber in interface WireCommonpublic long headerNumber()
headerNumber in interface WireCommon@NotNull public net.openhft.chronicle.core.values.BooleanValue newBooleanReference()
newBooleanReference in interface WireCommon@NotNull public ObjectInput objectInput()
objectInput in interface WireInCopyright © 2018. All rights reserved.