public class StringEncoderImpl extends AbstractStringCoder implements StringEncoder
| Modifier and Type | Class and Description |
|---|---|
static class |
StringEncoderImpl.ValueContainer |
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,StringEncoderImpl.ValueContainer> |
stringValues |
localValuePartitions, localValuesDEFAULT_INITIAL_QNAME_LISTS, EMPTY_STRING_VALUE| Constructor and Description |
|---|
StringEncoderImpl(boolean localValuePartitions) |
StringEncoderImpl(boolean localValuePartitions,
int initialQNameLists) |
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(QNameContext qnc,
String value) |
void |
clear() |
StringEncoderImpl.ValueContainer |
getValueContainer(String value) |
int |
getValueContainerSize() |
boolean |
isStringHit(String value) |
void |
setSharedStrings(List<String> sharedStrings) |
void |
writeValue(QNameContext context,
EncoderChannel valueChannel,
String value) |
addLocalValue, getNumberOfStringValues, isLocalValuePartitionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNumberOfStringValues, isLocalValuePartitionsprotected Map<String,StringEncoderImpl.ValueContainer> stringValues
public StringEncoderImpl(boolean localValuePartitions)
public StringEncoderImpl(boolean localValuePartitions,
int initialQNameLists)
public void writeValue(QNameContext context, EncoderChannel valueChannel, String value) throws IOException
writeValue in interface StringEncoderIOExceptionpublic StringEncoderImpl.ValueContainer getValueContainer(String value)
getValueContainer in interface StringEncoderpublic int getValueContainerSize()
getValueContainerSize in interface StringEncoderpublic boolean isStringHit(String value) throws IOException
isStringHit in interface StringEncoderIOExceptionpublic void addValue(QNameContext qnc, String value)
addValue in interface StringEncoderpublic void clear()
clear in interface StringCoderclear in class AbstractStringCoderpublic void setSharedStrings(List<String> sharedStrings)
setSharedStrings in interface StringCoderCopyright © 2018 Siemens AG. All rights reserved.