public class KeyValuePairs extends Object
| Constructor and Description |
|---|
KeyValuePairs(Block serialized,
Type keyType,
Type valueType) |
KeyValuePairs(Type keyType,
Type valueType) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Block key,
Block value,
int keyPosition,
int valuePosition)
Only add this key value pair if we haven't seen this key before.
|
long |
estimatedInMemorySize() |
Block |
getKeys() |
Block |
getValues() |
void |
serialize(BlockBuilder out) |
public Block getKeys()
public Block getValues()
public void serialize(BlockBuilder out)
public long estimatedInMemorySize()
Copyright © 2012–2019. All rights reserved.