public class StringDecoderImpl extends AbstractStringCoder implements StringDecoder
| Modifier and Type | Field and Description |
|---|---|
protected List<StringValue> |
globalValues |
localValuePartitions, localValuesDEFAULT_INITIAL_QNAME_LISTS, EMPTY_STRING_VALUE| Constructor and Description |
|---|
StringDecoderImpl(boolean localValuePartitions) |
StringDecoderImpl(boolean localValuePartitions,
int initialQNameLists) |
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(QNameContext qnc,
StringValue value) |
void |
clear() |
StringValue |
readValue(QNameContext context,
DecoderChannel valueChannel) |
StringValue |
readValueGlobalHit(DecoderChannel valueChannel) |
StringValue |
readValueLocalHit(QNameContext qnc,
DecoderChannel valueChannel) |
void |
setSharedStrings(List<String> sharedStrings) |
addLocalValue, getNumberOfStringValues, isLocalValuePartitionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNumberOfStringValues, isLocalValuePartitionsprotected List<StringValue> globalValues
public StringDecoderImpl(boolean localValuePartitions)
public StringDecoderImpl(boolean localValuePartitions,
int initialQNameLists)
public StringValue readValue(QNameContext context, DecoderChannel valueChannel) throws IOException
readValue in interface StringDecoderIOExceptionpublic StringValue readValueLocalHit(QNameContext qnc, DecoderChannel valueChannel) throws IOException
readValueLocalHit in interface StringDecoderIOExceptionpublic final StringValue readValueGlobalHit(DecoderChannel valueChannel) throws IOException
readValueGlobalHit in interface StringDecoderIOExceptionpublic void addValue(QNameContext qnc, StringValue value)
addValue in interface StringDecoderpublic void clear()
clear in interface StringCoderclear in class AbstractStringCoderpublic void setSharedStrings(List<String> sharedStrings)
setSharedStrings in interface StringCoderCopyright © 2018 Siemens AG. All rights reserved.