|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Basic queries to a remote server, or direct if server is in same VM.
| Field Summary | |
static java.lang.String |
DELETE_RECS
|
static java.lang.String |
GET_KEY_COUNT
|
static java.lang.String |
GET_KEYS
|
static java.lang.String |
GET_REC
|
static java.lang.String |
GET_RECS
|
static java.lang.String |
STORE_REC
|
static java.lang.String |
STORE_RECS
|
| Fields inherited from interface jreceiver.common.rpc.RpcBase |
DETECT |
| Method Summary | |
void |
deleteRecs(java.util.Vector keys)
delete a record for the given keys |
int |
getKeyCount()
Obtain a total count of unique keys |
java.util.Vector |
getKeys(java.lang.String order_by,
int rec_offset,
int rec_count)
Obtain an ordered range of keys. |
Rec |
getRec(int i_key,
java.util.Hashtable args)
Obtain a single rec for the key (primitive int) |
Rec |
getRec(java.lang.Object key,
java.util.Hashtable args)
Obtain a single rec for the (String or Key-derived or Number-derived) key |
java.util.Vector |
getRecs(java.lang.String order_by,
java.util.Hashtable args,
int rec_offset,
int rec_count)
Obtain a list of recs (combines getKeys + getRecs(keys)) |
java.util.Vector |
getRecs(java.util.Vector keys,
java.lang.String order_by,
java.util.Hashtable args)
Obtain a list of recs for a list of keys |
int |
storeRec(Rec rec)
Insert or update a single record, returning the identity (if any) |
void |
storeRecs(java.util.Vector recs)
Insert or update records |
| Methods inherited from interface jreceiver.common.rpc.RpcBase |
detect |
| Field Detail |
public static final java.lang.String GET_KEY_COUNT
public static final java.lang.String GET_KEYS
public static final java.lang.String GET_REC
public static final java.lang.String GET_RECS
public static final java.lang.String STORE_REC
public static final java.lang.String STORE_RECS
public static final java.lang.String DELETE_RECS
| Method Detail |
public int getKeyCount()
throws RpcException
Recommended when traversing large lists.
public java.util.Vector getKeys(java.lang.String order_by,
int rec_offset,
int rec_count)
throws RpcException
public Rec getRec(java.lang.Object key,
java.util.Hashtable args)
throws RpcException
public Rec getRec(int i_key,
java.util.Hashtable args)
throws RpcException
public java.util.Vector getRecs(java.util.Vector keys,
java.lang.String order_by,
java.util.Hashtable args)
throws RpcException
Recommended when traversing large lists where a complex filter is used.
public java.util.Vector getRecs(java.lang.String order_by,
java.util.Hashtable args,
int rec_offset,
int rec_count)
throws RpcException
Not recommended when traversing large lists where a complex filter is used.
public int storeRec(Rec rec)
throws RpcException
public void storeRecs(java.util.Vector recs)
throws RpcException
public void deleteRecs(java.util.Vector keys)
throws RpcException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||