public abstract class RiakDatatype extends Object
Constructor and Description |
---|
RiakDatatype() |
Modifier and Type | Method and Description |
---|---|
RiakCounter |
getAsCounter()
Get this datatype as a counter.
|
RiakFlag |
getAsFlag()
Get this datatype as a flag.
|
RiakHll |
getAsHll()
Get this datatype as a flag.
|
RiakMap |
getAsMap()
Get this datatype as a map.
|
RiakRegister |
getAsRegister()
Get this datatype as a register.
|
RiakSet |
getAsSet()
Get this datatype as a set.
|
boolean |
isCounter()
Determine if this datatype is a counter.
|
boolean |
isFlag()
Determine if this datatype is a flag.
|
boolean |
isHll()
Determine if this datatype is a HyperLogLog.
|
boolean |
isMap()
Determine if this datatype is a map.
|
boolean |
isRegister()
Determine if this datatype is a register.
|
boolean |
isSet()
Determine if this datatype is a set.
|
abstract Object |
view() |
public abstract Object view()
public boolean isMap()
public boolean isSet()
public boolean isCounter()
public boolean isRegister()
public boolean isFlag()
public boolean isHll()
public RiakMap getAsMap()
IllegalStateException
- if this is not a map.public RiakSet getAsSet()
IllegalStateException
- if this is not a set.public RiakCounter getAsCounter()
IllegalStateException
- if this is not a counter.public RiakRegister getAsRegister()
IllegalStateException
- if this is not a register.public RiakFlag getAsFlag()
IllegalStateException
- if this is not a flag.public RiakHll getAsHll()
IllegalStateException
- if this is not a flag.Copyright © 2016. All rights reserved.