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, wait
asText, hasMore, isNotEmptyAfterPadding, rawReadData, read, readAlignTo, readAllAsMap, readDataHeader, readDocument, readDocument, readEventName
newTwoLongReference, notCompleteIsNotPresent, notCompleteIsNotPresent
methodReader, methodReaderBuilder, readBytes, readBytes, readDocument, readMap, readText, readText
public ResultSetWireIn(@NotNull ResultSet resultSet) throws SQLException
SQLException
public void clear()
WireCommon
clear
in interface WireCommon
clear
in interface WireIn
public 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()
WireIn
getValueIn
in interface WireIn
@NotNull public WireIn readComment(@NotNull StringBuilder sb)
readComment
in interface WireIn
@NotNull public DocumentContext readingDocument()
WireIn
WireIn.readDocument(net.openhft.chronicle.wire.ReadMarshallable,
net.openhft.chronicle.wire.ReadMarshallable)
but with out the use of a lambda expressionreadingDocument
in interface MarshallableIn
readingDocument
in interface WireIn
@NotNull public DocumentContext readingDocument(long readLocation)
readingDocument
in interface WireIn
public void consumePadding()
consumePadding
in interface WireIn
@NotNull public WireIn.HeaderType readDataHeader(boolean includeMetaData) throws EOFException
readDataHeader
in interface WireIn
EOFException
public void readAndSetLength(long position)
readAndSetLength
in interface WireIn
public void readFirstHeader(long timeout, TimeUnit timeUnit) throws TimeoutException, StreamCorruptedException
readFirstHeader
in interface WireIn
TimeoutException
StreamCorruptedException
public void readMetaDataHeader()
readMetaDataHeader
in interface WireIn
@NotNull public String readingPeekYaml()
readingPeekYaml
in interface WireIn
public void classLookup(net.openhft.chronicle.core.pool.ClassLookup classLookup)
WireCommon
classLookup
in interface WireCommon
classLookup
- to use@NotNull public net.openhft.chronicle.core.pool.ClassLookup classLookup()
classLookup
in interface WireCommon
public void pauser(net.openhft.chronicle.threads.Pauser pauser)
pauser
in interface WireCommon
pauser
- 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 WireCommon
public 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 WireCommon
public Object parent()
WireCommon
parent
in interface WireCommon
public void parent(Object parent)
WireCommon
parent
in interface WireCommon
parent
- to set, or null if there isn't one.public boolean startUse()
WireCommon
startUse
in interface WireCommon
public boolean endUse()
WireCommon
endUse
in interface WireCommon
@NotNull public WireOut headerNumber(long headerNumber)
headerNumber
in interface WireCommon
public 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 WireIn
Copyright © 2018. All rights reserved.