public final class InfinispanTupleSnapshot extends Object implements TupleSnapshot
| Constructor and Description |
|---|
InfinispanTupleSnapshot(org.infinispan.atomic.FineGrainedAtomicMap<String,Object> atomicMap) |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(String column)
Get the value of a column in the tuple
|
org.infinispan.atomic.FineGrainedAtomicMap<String,Object> |
getAtomicMap() |
Set<String> |
getColumnNames()
Get columns names composing the tuple
|
boolean |
isEmpty()
Check if the tuple contains some values
|
public Object get(String column)
TupleSnapshotget in interface TupleSnapshotcolumn - the name of the columnnull if the value is not setpublic boolean isEmpty()
TupleSnapshotisEmpty in interface TupleSnapshottrue is there is at lease one value in the tuple, false otherwise.public Set<String> getColumnNames()
TupleSnapshotgetColumnNames in interface TupleSnapshotCopyright © 2010-2017 Red Hat, Inc., Emmanuel Bernard and various contributors. All Rights Reserved.