public final class Record extends Object
Modifier and Type | Field and Description |
---|---|
Map<String,Object> |
bins
Map of requested name/value bins.
|
int |
expiration
Date record will expire, in seconds from Jan 01 2010 00:00:00 GMT
|
int |
generation
Record modification count.
|
Constructor and Description |
---|
Record(Map<String,Object> bins,
int generation,
int expiration)
Initialize record.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getBool(String name)
Get bin value as boolean.
|
byte |
getByte(String name)
Get bin value as byte.
|
int |
getInt(String name)
Get bin value as int.
|
long |
getLong(String name)
Get bin value as long.
|
short |
getShort(String name)
Get bin value as short.
|
Object |
getValue(String name)
Get bin value given bin name.
|
String |
toString()
Return String representation of record.
|
public final int generation
public final int expiration
public Object getValue(String name)
public long getLong(String name)
public int getInt(String name)
public short getShort(String name)
public byte getByte(String name)
public boolean getBool(String name)
Copyright © 2012–2014 Aerospike, Inc. All rights reserved.