public class NoOpConcourse extends Concourse
Concourse extension that, by default, doesn't support any
functionality and is intended to be extended where there is a need to
implement a subset of functionality.Concourse.ConnectionBuilder| Constructor and Description |
|---|
NoOpConcourse() |
| Modifier and Type | Method and Description |
|---|---|
void |
abort()
Abort the current transaction and discard any changes that are currently
staged.
|
<T> long |
add(String key,
T value)
Append
key as value in a new record. |
<T> Map<Long,Boolean> |
add(String key,
T value,
Collection<Long> records)
Atomically append
key as value in each of the
records where it doesn't exist. |
<T> boolean |
add(String key,
T value,
long record)
Append
key as value in record if and only if it
doesn't exist. |
Map<String,Map<Object,Set<Long>>> |
browse(Collection<String> keys)
Return a view of the values from all records that are currently stored
for each of the
keys. |
Map<String,Map<Object,Set<Long>>> |
browse(Collection<String> keys,
Timestamp timestamp)
Return a view of the values from all records that were stored for each of
the
keys at timestamp. |
Map<Object,Set<Long>> |
browse(String key)
Return a view of the values from all records that are currently stored
for
key. |
Map<Object,Set<Long>> |
browse(String key,
Timestamp timestamp)
Return a view of the values from all records that were stored for
key at timestamp. |
<T> Map<Timestamp,Set<T>> |
chronologize(String key,
long record)
Return a time series that contains a snapshot of the values stored for
key in record after every change made to the field. |
<T> Map<Timestamp,Set<T>> |
chronologize(String key,
long record,
Timestamp start)
Return a time series between
start (inclusive) and the present
that contains a snapshot of the values stored for key in
record after every change made to the field during the time span. |
<T> Map<Timestamp,Set<T>> |
chronologize(String key,
long record,
Timestamp start,
Timestamp end)
Return a time series between
start (inclusive) and end
(non-inclusive) that contains a snapshot of the values stored for
key in record after every change made to the field during
the time span. |
void |
clear(Collection<Long> records)
Atomically remove all the values stored for every key in each of the
records. |
void |
clear(Collection<String> keys,
Collection<Long> records)
Atomically remove all the values stored for each of the
keys in
each of the records. |
void |
clear(Collection<String> keys,
long record)
Atomically remove all the values stored for each of the
keys in
record. |
void |
clear(long record)
Atomically remove all the values stored for every key in
record. |
void |
clear(String key,
Collection<Long> records)
Atomically remove all the values stored for
key in each of the
records. |
void |
clear(String key,
long record)
Atomically remove all the values stored for
key in record |
boolean |
commit()
Attempt to permanently commit any changes that are staged in a
transaction and return
true if and only if all the changes can be
applied. |
boolean |
consolidate(long first,
long second,
long... remaining)
1) Atomically merge data from the
second and remaining
records into the first, 2) clear each of the
second and remaining records and 3) replace any outgoing
links to them with links to the first record. |
protected Concourse |
copyConnection()
Return a new
Concourse connection that is connected to the same
deployment with the same credentials as this connection. |
Set<String> |
describe()
Return all of the keys in the database.
|
Map<Long,Set<String>> |
describe(Collection<Long> records)
For each of the
records, return all of the keys that have at
least one value. |
Map<Long,Set<String>> |
describe(Collection<Long> records,
Timestamp timestamp)
For each of the
records, return all the keys that had at least
one value at timestamp. |
Set<String> |
describe(long record)
Return all the keys in
record that have at least one value. |
Set<String> |
describe(long record,
Timestamp timestamp)
Return all the keys in
record that had at least one value at
timestamp. |
Set<String> |
describe(Timestamp timestamp)
Return all of the keys in the database at
timestamp. |
<T> Map<String,Map<Diff,Set<T>>> |
diff(long record,
Timestamp start)
Return the net changes made to
record since
start. |
<T> Map<String,Map<Diff,Set<T>>> |
diff(long record,
Timestamp start,
Timestamp end)
Return the net changes made to
record from start
to end. |
<T> Map<Diff,Set<T>> |
diff(String key,
long record,
Timestamp start)
List the net changes made to
key in record since
start. |
<T> Map<Diff,Set<T>> |
diff(String key,
long record,
Timestamp start,
Timestamp end)
Return the net changes made to
key in record
from start to end. |
<T> Map<T,Map<Diff,Set<Long>>> |
diff(String key,
Timestamp start)
Return the net changes made to the
key field across all
records since start. |
<T> Map<T,Map<Diff,Set<Long>>> |
diff(String key,
Timestamp start,
Timestamp end)
Return the net changes made to the
key field across all
records from start to end. |
void |
exit()
Terminate the client's session and close this connection.
|
Set<Long> |
find(Criteria criteria)
Return the set of records that satisfy the
criteria. |
Set<Long> |
find(Criteria criteria,
Order order)
Return the set of records that satisfy the
criteria. |
Set<Long> |
find(Criteria criteria,
Order order,
Page page)
Return the set of records that satisfy the
criteria. |
Set<Long> |
find(Criteria criteria,
Page page)
Return the set of records that satisfy the
criteria. |
Set<Long> |
find(String ccl)
Return the set of records that satisfy the
ccl filter. |
Set<Long> |
find(String key,
Object value)
Return the set of records where
key equals value. |
Set<Long> |
find(String key,
Object value,
Order order)
Return the set of records where
key equals value. |
Set<Long> |
find(String key,
Object value,
Order order,
Page page)
Return the set of records where
key equals value. |
Set<Long> |
find(String key,
Object value,
Page page)
Return the set of records where
key equals value. |
Set<Long> |
find(String key,
Object value,
Timestamp timestamp)
Return the set of records where
key was equal to value at timestamp. |
Set<Long> |
find(String key,
Object value,
Timestamp timestamp,
Order order)
Return the set of records where
key was equal to value at timestamp. |
Set<Long> |
find(String key,
Object value,
Timestamp timestamp,
Order order,
Page page)
Return the set of records where
key was equal to value at timestamp. |
Set<Long> |
find(String key,
Object value,
Timestamp timestamp,
Page page)
Return the set of records where
key was equal to value at timestamp. |
Set<Long> |
find(String key,
Operator operator,
Object value)
Return the set of
records where the key field contains at
least one value that satisfies the operator in relation to the
value. |
Set<Long> |
find(String key,
Operator operator,
Object value,
Object value2)
Return the set of
records where the key field contains at
least one value that satisfies the operator in relation to
value and value2. |
Set<Long> |
find(String key,
Operator operator,
Object value,
Object value2,
Order order)
Return the set of
records where the key field contains at
least one value that satisfies the operator in relation to
value and value2. |
Set<Long> |
find(String key,
Operator operator,
Object value,
Object value2,
Order order,
Page page)
Return the set of
records where the key field contains at
least one value that satisfies the operator in relation to
value and value2. |
Set<Long> |
find(String key,
Operator operator,
Object value,
Object value2,
Page page)
Return the set of
records where the key field contains at
least one value that satisfies the operator in relation to
value and value2. |
Set<Long> |
find(String key,
Operator operator,
Object value,
Object value2,
Timestamp timestamp)
Return the set of
records where the key field contained
at least one value at timestamp that satisfies the
operator in relation to value and value2. |
Set<Long> |
find(String key,
Operator operator,
Object value,
Object value2,
Timestamp timestamp,
Order order)
Return the set of
records where the key field contained
at least one value at timestamp that satisfies the
operator in relation to value and value2. |
Set<Long> |
find(String key,
Operator operator,
Object value,
Object value2,
Timestamp timestamp,
Order order,
Page page)
Return the set of
records where the key field contained
at least one value at timestamp that satisfies the
operator in relation to value and value2. |
Set<Long> |
find(String key,
Operator operator,
Object value,
Object value2,
Timestamp timestamp,
Page page)
Return the set of
records where the key field contained
at least one value at timestamp that satisfies the
operator in relation to value and value2. |
Set<Long> |
find(String key,
Operator operator,
Object value,
Order order)
Return the set of
records where the key field contains at
least one value that satisfies the operator in relation to the
value. |
Set<Long> |
find(String key,
Operator operator,
Object value,
Order order,
Page page)
Return the set of
records where the key field contains at
least one value that satisfies the operator in relation to the
value. |
Set<Long> |
find(String key,
Operator operator,
Object value,
Page page)
Return the set of
records where the key field contains at
least one value that satisfies the operator in relation to the
value. |
Set<Long> |
find(String key,
Operator operator,
Object value,
Timestamp timestamp)
Return the set of
records where the key field contained
at least one value at that satisfies the operator in
relation to the value. |
Set<Long> |
find(String key,
Operator operator,
Object value,
Timestamp timestamp,
Order order)
Return the set of
records where the key field contained
at least one value at that satisfies the operator in
relation to the value. |
Set<Long> |
find(String key,
Operator operator,
Object value,
Timestamp timestamp,
Order order,
Page page)
Return the set of
records where the key field contained
at least one value at that satisfies the operator in
relation to the value. |
Set<Long> |
find(String key,
Operator operator,
Object value,
Timestamp timestamp,
Page page)
Return the set of
records where the key field contained
at least one value at that satisfies the operator in
relation to the value. |
Set<Long> |
find(String ccl,
Order order)
Return the set of records that satisfy the
ccl filter. |
Set<Long> |
find(String ccl,
Order order,
Page page)
Return the set of records that satisfy the
ccl filter. |
Set<Long> |
find(String ccl,
Page page)
Return the set of records that satisfy the
ccl filter. |
Set<Long> |
find(String key,
String operator,
Object value)
Return the set of
records where the key field contains at
least one value that satisfies the operator in relation to the
value. |
Set<Long> |
find(String key,
String operator,
Object value,
Object value2)
Return the set of
records where the key field contains at
least one value that satisfies the operator in relation to
value and value2. |
Set<Long> |
find(String key,
String operator,
Object value,
Object value2,
Order order)
Return the set of
records where the key field contains at
least one value that satisfies the operator in relation to
value and value2. |
Set<Long> |
find(String key,
String operator,
Object value,
Object value2,
Order order,
Page page)
Return the set of
records where the key field contains at
least one value that satisfies the operator in relation to
value and value2. |
Set<Long> |
find(String key,
String operator,
Object value,
Object value2,
Page page)
Return the set of
records where the key field contains at
least one value that satisfies the operator in relation to
value and value2. |
Set<Long> |
find(String key,
String operator,
Object value,
Object value2,
Timestamp timestamp)
Return the set of
records where the key field contained
at least one value at timestamp that satisfies the
operator in relation to value and value2. |
Set<Long> |
find(String key,
String operator,
Object value,
Object value2,
Timestamp timestamp,
Order order)
Return the set of
records where the key field contained
at least one value at timestamp that satisfies the
operator in relation to value and value2. |
Set<Long> |
find(String key,
String operator,
Object value,
Object value2,
Timestamp timestamp,
Order order,
Page page)
Return the set of
records where the key field contained
at least one value at timestamp that satisfies the
operator in relation to value and value2. |
Set<Long> |
find(String key,
String operator,
Object value,
Object value2,
Timestamp timestamp,
Page page)
Return the set of
records where the key field contained
at least one value at timestamp that satisfies the
operator in relation to value and value2. |
Set<Long> |
find(String key,
String operator,
Object value,
Order order)
Return the set of
records where the key field contains at
least one value that satisfies the operator in relation to the
value. |
Set<Long> |
find(String key,
String operator,
Object value,
Order order,
Page page)
Return the set of
records where the key field contains at
least one value that satisfies the operator in relation to the
value. |
Set<Long> |
find(String key,
String operator,
Object value,
Page page)
Return the set of
records where the key field contains at
least one value that satisfies the operator in relation to the
value. |
Set<Long> |
find(String key,
String operator,
Object value,
Timestamp timestamp)
Return the set of
records where the key field contained
at least one value at timestamp that satisfies the
operator in relation to the value. |
Set<Long> |
find(String key,
String operator,
Object value,
Timestamp timestamp,
Order order)
Return the set of
records where the key field contained
at least one value at timestamp that satisfies the
operator in relation to the value. |
Set<Long> |
find(String key,
String operator,
Object value,
Timestamp timestamp,
Order order,
Page page)
Return the set of
records where the key field contained
at least one value at timestamp that satisfies the
operator in relation to the value. |
Set<Long> |
find(String key,
String operator,
Object value,
Timestamp timestamp,
Page page)
Return the set of
records where the key field contained
at least one value at timestamp that satisfies the
operator in relation to the value. |
<T> long |
findOrAdd(String key,
T value)
Return the unique record where
key equals
value, or throw a DuplicateEntryException if multiple
records match the condition. |
long |
findOrInsert(Criteria criteria,
String json)
Return the unique record that matches the
criteria, if one exist
or throw a DuplicateEntryException if multiple records match. |
long |
findOrInsert(String ccl,
String json)
Return the unique record that matches the
ccl filter, if one
exist or throw a DuplicateEntryException if multiple records
match. |
<T> Map<Long,Map<String,T>> |
get(Collection<String> keys,
Collection<Long> records)
For each of the
keys in each of the records, return the
stored value that was most recently added. |
<T> Map<Long,Map<String,T>> |
get(Collection<String> keys,
Collection<Long> records,
Order order)
For each of the
keys in each of the records, return the
stored value that was most recently added. |
<T> Map<Long,Map<String,T>> |
get(Collection<String> keys,
Collection<Long> records,
Order order,
Page page)
For each of the
keys in each of the records, return the
stored value that was most recently added. |
<T> Map<Long,Map<String,T>> |
get(Collection<String> keys,
Collection<Long> records,
Page page)
For each of the
keys in each of the records, return the
stored value that was most recently added. |
<T> Map<Long,Map<String,T>> |
get(Collection<String> keys,
Collection<Long> records,
Timestamp timestamp)
For each of the
keys in each of the records, return the
stored value that was most recently added at timestamp. |
<T> Map<Long,Map<String,T>> |
get(Collection<String> keys,
Collection<Long> records,
Timestamp timestamp,
Order order)
For each of the
keys in each of the records, return the
stored value that was most recently added at timestamp. |
<T> Map<Long,Map<String,T>> |
get(Collection<String> keys,
Collection<Long> records,
Timestamp timestamp,
Order order,
Page page)
For each of the
keys in each of the records, return the
stored value that was most recently added at timestamp. |
<T> Map<Long,Map<String,T>> |
get(Collection<String> keys,
Collection<Long> records,
Timestamp timestamp,
Page page)
For each of the
keys in each of the records, return the
stored value that was most recently added at timestamp. |
<T> Map<Long,Map<String,T>> |
get(Collection<String> keys,
Criteria criteria)
For each of the
keys in every record that matches the
criteria, return the stored value that was most recently added. |
<T> Map<Long,Map<String,T>> |
get(Collection<String> keys,
Criteria criteria,
Order order)
For each of the
keys in every record that matches the
criteria, return the stored value that was most recently added. |
<T> Map<Long,Map<String,T>> |
get(Collection<String> keys,
Criteria criteria,
Order order,
Page page)
For each of the
keys in every record that matches the
criteria, return the stored value that was most recently added. |
<T> Map<Long,Map<String,T>> |
get(Collection<String> keys,
Criteria criteria,
Page page)
For each of the
keys in every record that matches the
criteria, return the stored value that was most recently added. |
<T> Map<Long,Map<String,T>> |
get(Collection<String> keys,
Criteria criteria,
Timestamp timestamp)
For each of the
keys in every record that matches the
criteria, return the stored value that was most recently added at
timestamp. |
<T> Map<Long,Map<String,T>> |
get(Collection<String> keys,
Criteria criteria,
Timestamp timestamp,
Order order)
For each of the
keys in every record that matches the
criteria, return the stored value that was most recently added at
timestamp. |
<T> Map<Long,Map<String,T>> |
get(Collection<String> keys,
Criteria criteria,
Timestamp timestamp,
Order order,
Page page)
For each of the
keys in every record that matches the
criteria, return the stored value that was most recently added at
timestamp. |
<T> Map<Long,Map<String,T>> |
get(Collection<String> keys,
Criteria criteria,
Timestamp timestamp,
Page page)
For each of the
keys in every record that matches the
criteria, return the stored value that was most recently added at
timestamp. |
<T> Map<String,T> |
get(Collection<String> keys,
long record)
For each of the
keys in record, return the stored value
that was most recently added. |
<T> Map<String,T> |
get(Collection<String> keys,
long record,
Timestamp timestamp)
For each of the
keys in record, return the stored value
that was most recently added at timestamp. |
<T> Map<Long,Map<String,T>> |
get(Collection<String> keys,
String ccl)
For each of the
keys in every record that matches the ccl
filter, return the stored value that was most recently added. |
<T> Map<Long,Map<String,T>> |
get(Collection<String> keys,
String ccl,
Order order)
For each of the
keys in every record that matches the ccl
filter, return the stored value that was most recently added. |
<T> Map<Long,Map<String,T>> |
get(Collection<String> keys,
String ccl,
Order order,
Page page)
For each of the
keys in every record that matches the ccl
filter, return the stored value that was most recently added. |
<T> Map<Long,Map<String,T>> |
get(Collection<String> keys,
String ccl,
Page page)
For each of the
keys in every record that matches the ccl
filter, return the stored value that was most recently added. |
<T> Map<Long,Map<String,T>> |
get(Collection<String> keys,
String ccl,
Timestamp timestamp)
For each of the
keys in every record that matches the ccl
filter, return the stored value that was most recently added at
timestamp. |
<T> Map<Long,Map<String,T>> |
get(Collection<String> keys,
String ccl,
Timestamp timestamp,
Order order)
For each of the
keys in every record that matches the ccl
filter, return the stored value that was most recently added at
timestamp. |
<T> Map<Long,Map<String,T>> |
get(Collection<String> keys,
String ccl,
Timestamp timestamp,
Order order,
Page page)
For each of the
keys in every record that matches the ccl
filter, return the stored value that was most recently added at
timestamp. |
<T> Map<Long,Map<String,T>> |
get(Collection<String> keys,
String ccl,
Timestamp timestamp,
Page page)
For each of the
keys in every record that matches the ccl
filter, return the stored value that was most recently added at
timestamp. |
<T> Map<Long,Map<String,T>> |
get(Criteria criteria)
For every key in every record that matches the
criteria, return
the stored value that was most recently added. |
<T> Map<Long,Map<String,T>> |
get(Criteria criteria,
Order order)
For every key in every record that matches the
criteria, return
the stored value that was most recently added. |
<T> Map<Long,Map<String,T>> |
get(Criteria criteria,
Order order,
Page page)
For every key in every record that matches the
criteria, return
the stored value that was most recently added. |
<T> Map<Long,Map<String,T>> |
get(Criteria criteria,
Page page)
For every key in every record that matches the
criteria, return
the stored value that was most recently added. |
<T> Map<Long,Map<String,T>> |
get(Criteria criteria,
Timestamp timestamp)
For every key in every record that matches the
criteria, return
the stored value that was most recently added at timestamp . |
<T> Map<Long,Map<String,T>> |
get(Criteria criteria,
Timestamp timestamp,
Order order)
For every key in every record that matches the
criteria, return
the stored value that was most recently added at timestamp . |
<T> Map<Long,Map<String,T>> |
get(Criteria criteria,
Timestamp timestamp,
Order order,
Page page)
For every key in every record that matches the
criteria, return
the stored value that was most recently added at timestamp . |
<T> Map<Long,Map<String,T>> |
get(Criteria criteria,
Timestamp timestamp,
Page page)
For every key in every record that matches the
criteria, return
the stored value that was most recently added at timestamp . |
<T> Map<Long,Map<String,T>> |
get(String ccl)
For every key in every record that matches the
ccl filter, return
the stored value that was most recently added. |
<T> Map<Long,T> |
get(String key,
Collection<Long> records)
For each of the
records, return the stored value in the
key field that was most recently added. |
<T> Map<Long,T> |
get(String key,
Collection<Long> records,
Order order)
For each of the
records, return the stored value in the
key field that was most recently added. |
<T> Map<Long,T> |
get(String key,
Collection<Long> records,
Order order,
Page page)
For each of the
records, return the stored value in the
key field that was most recently added. |
<T> Map<Long,T> |
get(String key,
Collection<Long> records,
Page page)
For each of the
records, return the stored value in the
key field that was most recently added. |
<T> Map<Long,T> |
get(String key,
Collection<Long> records,
Timestamp timestamp)
For each of the
records, return the stored value in the
key field that was most recently added at timestamp |
<T> Map<Long,T> |
get(String key,
Collection<Long> records,
Timestamp timestamp,
Order order)
For each of the
records, return the stored value in the
key field that was most recently added at timestamp |
<T> Map<Long,T> |
get(String key,
Collection<Long> records,
Timestamp timestamp,
Order order,
Page page)
For each of the
records, return the stored value in the
key field that was most recently added at timestamp |
<T> Map<Long,T> |
get(String key,
Collection<Long> records,
Timestamp timestamp,
Page page)
For each of the
records, return the stored value in the
key field that was most recently added at timestamp |
<T> Map<Long,T> |
get(String key,
Criteria criteria)
For every record that matches the
criteria, return the stored
value in the key field that was most recently added. |
<T> Map<Long,T> |
get(String key,
Criteria criteria,
Order order)
For every record that matches the
criteria, return the stored
value in the key field that was most recently added. |
<T> Map<Long,T> |
get(String key,
Criteria criteria,
Order order,
Page page)
For every record that matches the
criteria, return the stored
value in the key field that was most recently added. |
<T> Map<Long,T> |
get(String key,
Criteria criteria,
Page page)
For every record that matches the
criteria, return the stored
value in the key field that was most recently added. |
<T> Map<Long,T> |
get(String key,
Criteria criteria,
Timestamp timestamp)
For every record that matches the
criteria, return the stored
value in the key field that was most recently added at
timestamp. |
<T> Map<Long,T> |
get(String key,
Criteria criteria,
Timestamp timestamp,
Order order)
For every record that matches the
criteria, return the stored
value in the key field that was most recently added at
timestamp. |
<T> Map<Long,T> |
get(String key,
Criteria criteria,
Timestamp timestamp,
Order order,
Page page)
For every record that matches the
criteria, return the stored
value in the key field that was most recently added at
timestamp. |
<T> Map<Long,T> |
get(String key,
Criteria criteria,
Timestamp timestamp,
Page page)
For every record that matches the
criteria, return the stored
value in the key field that was most recently added at
timestamp. |
<T> T |
get(String key,
long record)
Return the stored value that was most recently added for
key in
record. |
<T> T |
get(String key,
long record,
Timestamp timestamp)
Return the stored value that was most recently added for
key in
record at timestamp. |
<T> Map<Long,Map<String,T>> |
get(String ccl,
Order order)
For every key in every record that matches the
ccl filter, return
the stored value that was most recently added. |
<T> Map<Long,Map<String,T>> |
get(String ccl,
Order order,
Page page)
For every key in every record that matches the
ccl filter, return
the stored value that was most recently added. |
<T> Map<Long,Map<String,T>> |
get(String ccl,
Page page)
For every key in every record that matches the
ccl filter, return
the stored value that was most recently added. |
<T> Map<Long,T> |
get(String key,
String ccl)
For every record that matches the
ccl filter, return the stored
value in the key field that was most recently added. |
<T> Map<Long,T> |
get(String key,
String ccl,
Order order)
For every record that matches the
ccl filter, return the stored
value in the key field that was most recently added. |
<T> Map<Long,T> |
get(String key,
String ccl,
Order order,
Page page)
For every record that matches the
ccl filter, return the stored
value in the key field that was most recently added. |
<T> Map<Long,T> |
get(String key,
String ccl,
Page page)
For every record that matches the
ccl filter, return the stored
value in the key field that was most recently added. |
<T> Map<Long,T> |
get(String key,
String ccl,
Timestamp timestamp)
For every record that matches the
ccl filter, return the stored
value in the key field that was most recently added at
timestamp. |
<T> Map<Long,T> |
get(String key,
String ccl,
Timestamp timestamp,
Order order)
For every record that matches the
ccl filter, return the stored
value in the key field that was most recently added at
timestamp. |
<T> Map<Long,T> |
get(String key,
String ccl,
Timestamp timestamp,
Order order,
Page page)
For every record that matches the
ccl filter, return the stored
value in the key field that was most recently added at
timestamp. |
<T> Map<Long,T> |
get(String key,
String ccl,
Timestamp timestamp,
Page page)
For every record that matches the
ccl filter, return the stored
value in the key field that was most recently added at
timestamp. |
<T> Map<Long,Map<String,T>> |
get(String ccl,
Timestamp timestamp)
For every key in every record that matches the
ccl filter, return
the stored value that was most recently added. |
<T> Map<Long,Map<String,T>> |
get(String ccl,
Timestamp timestamp,
Order order)
For every key in every record that matches the
ccl filter, return
the stored value that was most recently added. |
<T> Map<Long,Map<String,T>> |
get(String ccl,
Timestamp timestamp,
Order order,
Page page)
For every key in every record that matches the
ccl filter, return
the stored value that was most recently added. |
<T> Map<Long,Map<String,T>> |
get(String ccl,
Timestamp timestamp,
Page page)
For every key in every record that matches the
ccl filter, return
the stored value that was most recently added. |
String |
getServerEnvironment()
Return the name of the connected environment.
|
String |
getServerVersion()
Return the version of the connected server.
|
Set<Long> |
insert(String json)
Atomically insert the key/value associations from the
json string
into as many new records as necessary. |
Map<Long,Boolean> |
insert(String json,
Collection<Long> records)
Atomically insert the key/value associations from the
json object
into each of the records, if possible. |
boolean |
insert(String json,
long record)
Atomically insert the key/value associations from the
json object
into record, if possible. |
Set<Long> |
inventory()
Return all the records that have current or historical data.
|
<T> T |
invokePlugin(String id,
String method,
Object... args)
Invoke
method using args within the plugin identified by
id. |
String |
jsonify(Collection<Long> records)
Atomically dump the data in each of the
records as a JSON array
of objects. |
String |
jsonify(Collection<Long> records,
boolean identifier)
Atomically dump the data in each of the
records as a JSON array
of objects and optionally include a special identifier key that
contains the record id for each of the dumped objects. |
String |
jsonify(Collection<Long> records,
Timestamp timestamp)
Atomically dump the data in each of the
records at
timestamp as a JSON array of objects. |
String |
jsonify(Collection<Long> records,
Timestamp timestamp,
boolean identifier)
Atomically dump the data in each of the
records at
timestamp as a JSON array of objects and optionally include a
special identifier key that contains the record id for each of
the dumped objects. |
String |
jsonify(long record)
Atomically dump all the data in
record as a JSON object. |
String |
jsonify(long record,
boolean identifier)
Atomically dump all the data in
record as a JSON object and
optionally include a special identifier key that contains the
record id. |
String |
jsonify(long record,
Timestamp timestamp)
Atomically dump all the data in
record at timestamp as a
JSON object. |
String |
jsonify(long record,
Timestamp timestamp,
boolean identifier)
Atomically dump all the data in
record at timestamp as a
JSON object and optionally include a special identifier key that
contains the record id. |
Map<Long,Boolean> |
link(String key,
Collection<Long> destinations,
long source)
Append links from
key in source to each of the
destinations. |
boolean |
link(String key,
long destination,
long source)
Append a link from
key in source to destination. |
<T> Map<Long,Map<String,Set<T>>> |
navigate(Collection<String> keys,
Collection<Long> records)
Traverse the document-graph along each of the navigation
keys,
starting at each of the records and return the data contained at
each of the destinations. |
<T> Map<Long,Map<String,Set<T>>> |
navigate(Collection<String> keys,
Collection<Long> records,
Timestamp timestamp)
Traverse the document-graph at
timestamp along each of the
navigation keys, starting at each of the records and
return the data contained at each of the destinations at
timestamp. |
<T> Map<Long,Map<String,Set<T>>> |
navigate(Collection<String> keys,
Criteria criteria)
Traverse the document-graph along each of the navigation
keys,
starting at each of the records that match the criteria and
return the data contained at each of the destinations. |
<T> Map<Long,Map<String,Set<T>>> |
navigate(Collection<String> keys,
Criteria criteria,
Timestamp timestamp)
Traverse the document-graph at
timestamp along each of the
navigation keys, starting at each of the records that matched the
criteria and return the data contained at each of the
destinations at timestamp. |
<T> Map<Long,Map<String,Set<T>>> |
navigate(Collection<String> keys,
long record)
Traverse the document-graph along each of the navigation
keys,
starting at record and return the data contained at each of the
destinations. |
<T> Map<Long,Map<String,Set<T>>> |
navigate(Collection<String> keys,
long record,
Timestamp timestamp)
Traverse the document-graph at
timestamp along each of the
navigation keys, starting at record and return the data
contained at each of the destinations at timestamp. |
<T> Map<Long,Map<String,Set<T>>> |
navigate(Collection<String> keys,
String ccl)
Traverse the document-graph along each of the navigation
keys,
starting at each of the records that match the criteria and
return the data contained at each of the destinations. |
<T> Map<Long,Map<String,Set<T>>> |
navigate(Collection<String> keys,
String ccl,
Timestamp timestamp)
Traverse the document-graph at
timestamp along each of the
navigation keys, starting at each of the records that matched the
criteria and return the data contained at each of the
destinations at timestamp. |
<T> Map<Long,Set<T>> |
navigate(String key,
Collection<Long> records)
Return all values stored for
key in each of the records. |
<T> Map<Long,Set<T>> |
navigate(String key,
Collection<Long> records,
Timestamp timestamp)
Return all values stored for
key in each of the records
at timestamp.Navigates through the key splited with dot(.)
operator. |
<T> Map<Long,Set<T>> |
navigate(String key,
Criteria criteria)
Return all the values stored for
key in every record that matches
the Criteria filter. |
<T> Map<Long,Set<T>> |
navigate(String key,
Criteria criteria,
Timestamp timestamp)
Return all the values stored for
key in every record that matches
the Criteria filter. |
<T> Map<Long,Set<T>> |
navigate(String key,
long record)
Return all the values stored for
key in record.Iterates
through the key splitted with dot(.) operator. |
<T> Map<Long,Set<T>> |
navigate(String key,
long record,
Timestamp timestamp)
Return all the values stored for
key in record at
timestamp. |
<T> Map<Long,Set<T>> |
navigate(String key,
String ccl)
Return all the values stored for
key in every record that matches
the ccl filter. |
<T> Map<Long,Set<T>> |
navigate(String key,
String ccl,
Timestamp timestamp)
Return all the values stored for
key in every record that matches
the ccl filter. |
boolean |
ping()
Test the connection to the server.
|
Map<Long,Boolean> |
ping(Collection<Long> records)
Atomically check to see if each of the
records currently contains
any data. |
boolean |
ping(long record)
Check to see if
record currently contains any data. |
<T> void |
reconcile(String key,
long record,
Collection<T> values)
Make the necessary changes to the data stored for
key in
record so that it contains the exact same values as the
specified collection. |
<T> Map<Long,Boolean> |
remove(String key,
T value,
Collection<Long> records)
Atomically remove
key as value from each of the
records where it currently exists. |
<T> boolean |
remove(String key,
T value,
long record)
Remove
key as value from record if it currently
exists. |
void |
revert(Collection<String> keys,
Collection<Long> records,
Timestamp timestamp)
Atomically revert each of the
keys in each of the records
to their state at timestamp by creating new revisions that undo
the net changes that have occurred since timestamp. |
void |
revert(Collection<String> keys,
long record,
Timestamp timestamp)
Atomically revert each of the
keys in record to their
state at timestamp by creating new revisions that undo the net
changes that have occurred since timestamp. |
void |
revert(String key,
Collection<Long> records,
Timestamp timestamp)
Atomically revert
key in each of the records to its state
at timestamp by creating new revisions that undo the net changes
that have occurred since timestamp. |
void |
revert(String key,
long record,
Timestamp timestamp)
Atomically revert
key in record to its state at
timestamp by creating new revisions that undo the net changes
that have occurred since timestamp. |
Map<Timestamp,List<String>> |
review(long record)
Return a list all the changes ever made to
record. |
Map<Timestamp,List<String>> |
review(long record,
Timestamp start)
Return a list all the changes made to
record since start
(inclusive). |
Map<Timestamp,List<String>> |
review(long record,
Timestamp start,
Timestamp end)
Return a list all the changes made to
record between
start (inclusive) and end (non-inclusive). |
Map<Timestamp,List<String>> |
review(String key,
long record)
Return a list all the changes ever made to the
key field in
record |
Map<Timestamp,List<String>> |
review(String key,
long record,
Timestamp start)
Return a list of all the changes made to the
key field in
record since start (inclusive). |
Map<Timestamp,List<String>> |
review(String key,
long record,
Timestamp start,
Timestamp end)
Return a list of all the changes made to the
key field in
record between start (inclusive) and end
(non-inclusive). |
Set<Long> |
search(String key,
String query)
|
<T> Map<Long,Map<String,Set<T>>> |
select(Collection<Long> records)
Return all the data that is currently stored in each of the
records. |
<T> Map<Long,Map<String,Set<T>>> |
select(Collection<Long> records,
Order order)
Return all the data that is currently stored in each of the
records. |
<T> Map<Long,Map<String,Set<T>>> |
select(Collection<Long> records,
Order order,
Page page)
Return all the data that is currently stored in each of the
records. |
<T> Map<Long,Map<String,Set<T>>> |
select(Collection<Long> records,
Page page)
Return all the data that is currently stored in each of the
records. |
<T> Map<Long,Map<String,Set<T>>> |
select(Collection<Long> records,
Timestamp timestamp)
Return all the data that was stored in each of the
records at
timestamp. |
<T> Map<Long,Map<String,Set<T>>> |
select(Collection<Long> records,
Timestamp timestamp,
Order order)
Return all the data that was stored in each of the
records at
timestamp. |
<T> Map<Long,Map<String,Set<T>>> |
select(Collection<Long> records,
Timestamp timestamp,
Order order,
Page page)
Return all the data that was stored in each of the
records at
timestamp. |
<T> Map<Long,Map<String,Set<T>>> |
select(Collection<Long> records,
Timestamp timestamp,
Page page)
Return all the data that was stored in each of the
records at
timestamp. |
<T> Map<Long,Map<String,Set<T>>> |
select(Collection<String> keys,
Collection<Long> records)
Return all the values stored for each of the
keys in each of the
records. |
<T> Map<Long,Map<String,Set<T>>> |
select(Collection<String> keys,
Collection<Long> records,
Order order)
Return all the values stored for each of the
keys in each of the
records. |
<T> Map<Long,Map<String,Set<T>>> |
select(Collection<String> keys,
Collection<Long> records,
Order order,
Page page)
Return all the values stored for each of the
keys in each of the
records. |
<T> Map<Long,Map<String,Set<T>>> |
select(Collection<String> keys,
Collection<Long> records,
Page page)
Return all the values stored for each of the
keys in each of the
records. |
<T> Map<Long,Map<String,Set<T>>> |
select(Collection<String> keys,
Collection<Long> records,
Timestamp timestamp)
Return all the values stored for each of the
keys in each of the
records at timestamp. |
<T> Map<Long,Map<String,Set<T>>> |
select(Collection<String> keys,
Collection<Long> records,
Timestamp timestamp,
Order order)
Return all the values stored for each of the
keys in each of the
records at timestamp. |
<T> Map<Long,Map<String,Set<T>>> |
select(Collection<String> keys,
Collection<Long> records,
Timestamp timestamp,
Order order,
Page page)
Return all the values stored for each of the
keys in each of the
records at timestamp. |
<T> Map<Long,Map<String,Set<T>>> |
select(Collection<String> keys,
Collection<Long> records,
Timestamp timestamp,
Page page)
Return all the values stored for each of the
keys in each of the
records at timestamp. |
<T> Map<Long,Map<String,Set<T>>> |
select(Collection<String> keys,
Criteria criteria)
Return all the values stored for each of the
keys in every record
that matches the criteria. |
<T> Map<Long,Map<String,Set<T>>> |
select(Collection<String> keys,
Criteria criteria,
Order order)
Return all the values stored for each of the
keys in every record
that matches the criteria. |
<T> Map<Long,Map<String,Set<T>>> |
select(Collection<String> keys,
Criteria criteria,
Order order,
Page page)
Return all the values stored for each of the
keys in every record
that matches the criteria. |
<T> Map<Long,Map<String,Set<T>>> |
select(Collection<String> keys,
Criteria criteria,
Page page)
Return all the values stored for each of the
keys in every record
that matches the criteria. |
<T> Map<Long,Map<String,Set<T>>> |
select(Collection<String> keys,
Criteria criteria,
Timestamp timestamp)
Return all the values stored for each of the
keys at
timestamp in every record that matches the criteria |
<T> Map<Long,Map<String,Set<T>>> |
select(Collection<String> keys,
Criteria criteria,
Timestamp timestamp,
Order order)
Return all the values stored for each of the
keys at
timestamp in every record that matches the criteria |
<T> Map<Long,Map<String,Set<T>>> |
select(Collection<String> keys,
Criteria criteria,
Timestamp timestamp,
Order order,
Page page)
Return all the values stored for each of the
keys at
timestamp in every record that matches the criteria |
<T> Map<Long,Map<String,Set<T>>> |
select(Collection<String> keys,
Criteria criteria,
Timestamp timestamp,
Page page)
Return all the values stored for each of the
keys at
timestamp in every record that matches the criteria |
<T> Map<String,Set<T>> |
select(Collection<String> keys,
long record)
Return all the values stored for each of the
keys in
record. |
<T> Map<String,Set<T>> |
select(Collection<String> keys,
long record,
Timestamp timestamp)
Return all the values stored for each of the
keys in
record at timestamp. |
<T> Map<Long,Map<String,Set<T>>> |
select(Collection<String> keys,
String ccl)
Return all the values stored for each of the
keys in every record
that matches the ccl filter. |
<T> Map<Long,Map<String,Set<T>>> |
select(Collection<String> keys,
String ccl,
Order order)
Return all the values stored for each of the
keys in every record
that matches the ccl filter. |
<T> Map<Long,Map<String,Set<T>>> |
select(Collection<String> keys,
String ccl,
Order order,
Page page)
Return all the values stored for each of the
keys in every record
that matches the ccl filter. |
<T> Map<Long,Map<String,Set<T>>> |
select(Collection<String> keys,
String ccl,
Page page)
Return all the values stored for each of the
keys in every record
that matches the ccl filter. |
<T> Map<Long,Map<String,Set<T>>> |
select(Collection<String> keys,
String ccl,
Timestamp timestamp)
Return all the values stored for each of the
keys at
timestamp in every record that matches the ccl filter. |
<T> Map<Long,Map<String,Set<T>>> |
select(Collection<String> keys,
String ccl,
Timestamp timestamp,
Order order)
Return all the values stored for each of the
keys at
timestamp in every record that matches the ccl filter. |
<T> Map<Long,Map<String,Set<T>>> |
select(Collection<String> keys,
String ccl,
Timestamp timestamp,
Order order,
Page page)
Return all the data from every record that matches
criteria. |
<T> Map<Long,Map<String,Set<T>>> |
select(Collection<String> keys,
String ccl,
Timestamp timestamp,
Page page)
Return all the data from every record that matches
criteria. |
<T> Map<Long,Map<String,Set<T>>> |
select(Criteria criteria)
Return all the data from every record that matches
criteria. |
<T> Map<Long,Map<String,Set<T>>> |
select(Criteria criteria,
Order order)
Return all the data from every record that matches
criteria. |
<T> Map<Long,Map<String,Set<T>>> |
select(Criteria criteria,
Order order,
Page page)
Return all the data from every record that matches
criteria. |
<T> Map<Long,Map<String,Set<T>>> |
select(Criteria criteria,
Page page)
Return all the data from every record that matches
criteria. |
<T> Map<Long,Map<String,Set<T>>> |
select(Criteria criteria,
Timestamp timestamp)
Return all the data at
timestamp from every record that matches
the criteria. |
<T> Map<Long,Map<String,Set<T>>> |
select(Criteria criteria,
Timestamp timestamp,
Order order)
Return all the data at
timestamp from every record that matches
the criteria. |
<T> Map<Long,Map<String,Set<T>>> |
select(Criteria criteria,
Timestamp timestamp,
Order order,
Page page)
Return all the data at
timestamp from every record that matches
the criteria. |
<T> Map<Long,Map<String,Set<T>>> |
select(Criteria criteria,
Timestamp timestamp,
Page page)
Return all the data at
timestamp from every record that matches
the criteria. |
<T> Map<String,Set<T>> |
select(long record)
Return all the data from
record. |
<T> Map<String,Set<T>> |
select(long record,
Timestamp timestamp)
Return all the data from
record at timestamp. |
<T> Map<Long,Map<String,Set<T>>> |
select(String ccl)
Return all the data from every record that matches
ccl filter. |
<T> Map<Long,Set<T>> |
select(String key,
Collection<Long> records)
Return all values stored for
key in each of the records. |
<T> Map<Long,Set<T>> |
select(String key,
Collection<Long> records,
Order order)
Return all values stored for
key in each of the records. |
<T> Map<Long,Set<T>> |
select(String key,
Collection<Long> records,
Order order,
Page page)
Return all values stored for
key in each of the records. |
<T> Map<Long,Set<T>> |
select(String key,
Collection<Long> records,
Page page)
Return all values stored for
key in each of the records. |
<T> Map<Long,Set<T>> |
select(String key,
Collection<Long> records,
Timestamp timestamp)
Return all values stored for
key in each of the records
at timestamp. |
<T> Map<Long,Set<T>> |
select(String key,
Collection<Long> records,
Timestamp timestamp,
Order order)
Return all values stored for
key in each of the records
at timestamp. |
<T> Map<Long,Set<T>> |
select(String key,
Collection<Long> records,
Timestamp timestamp,
Order order,
Page page)
Return all values stored for
key in each of the records
at timestamp. |
<T> Map<Long,Set<T>> |
select(String key,
Collection<Long> records,
Timestamp timestamp,
Page page)
Return all values stored for
key in each of the records
at timestamp. |
<T> Map<Long,Set<T>> |
select(String key,
Criteria criteria)
Return all the values stored for
key in every record that matches
the criteria. |
<T> Map<Long,Set<T>> |
select(String key,
Criteria criteria,
Order order)
Return all the values stored for
key in every record that matches
the criteria. |
<T> Map<Long,Set<T>> |
select(String key,
Criteria criteria,
Order order,
Page page)
Return all the values stored for
key in every record that matches
the criteria. |
<T> Map<Long,Set<T>> |
select(String key,
Criteria criteria,
Page page)
Return all the values stored for
key in every record that matches
the criteria. |
<T> Map<Long,Set<T>> |
select(String key,
Criteria criteria,
Timestamp timestamp)
Return all the values stored for
key at timestamp in
every record that matches the criteria. |
<T> Map<Long,Set<T>> |
select(String key,
Criteria criteria,
Timestamp timestamp,
Order order)
Return all the values stored for
key at timestamp in
every record that matches the criteria. |
<T> Map<Long,Set<T>> |
select(String key,
Criteria criteria,
Timestamp timestamp,
Order order,
Page page)
Return all the values stored for
key at timestamp in
every record that matches the criteria. |
<T> Map<Long,Set<T>> |
select(String key,
Criteria criteria,
Timestamp timestamp,
Page page)
Return all the values stored for
key at timestamp in
every record that matches the criteria. |
<T> Set<T> |
select(String key,
long record)
Return all the values stored for
key in record. |
<T> Set<T> |
select(String key,
long record,
Timestamp timestamp)
Return all the values stored for
key in record at
timestamp. |
<T> Map<Long,Map<String,Set<T>>> |
select(String ccl,
Order order)
Return all the data from every record that matches
ccl filter. |
<T> Map<Long,Map<String,Set<T>>> |
select(String ccl,
Order order,
Page page)
Return all the data from every record that matches
ccl filter. |
<T> Map<Long,Map<String,Set<T>>> |
select(String ccl,
Page page)
Return all the data from every record that matches
ccl filter. |
<T> Map<Long,Set<T>> |
select(String key,
String ccl)
Return all the values stored for
key in every record that matches
the ccl filter. |
<T> Map<Long,Set<T>> |
select(String key,
String ccl,
Order order)
Return all the values stored for
key in every record that matches
the ccl filter. |
<T> Map<Long,Set<T>> |
select(String key,
String ccl,
Order order,
Page page)
Return all the values stored for
key in every record that matches
the ccl filter. |
<T> Map<Long,Set<T>> |
select(String key,
String ccl,
Page page)
Return all the values stored for
key in every record that matches
the ccl filter. |
<T> Map<Long,Set<T>> |
select(String key,
String ccl,
Timestamp timestamp)
Return all the values stored for
key at timestamp in
every record that matches the ccl filter. |
<T> Map<Long,Set<T>> |
select(String key,
String ccl,
Timestamp timestamp,
Order order)
Return all the values stored for
key at timestamp in
every record that matches the ccl filter. |
<T> Map<Long,Set<T>> |
select(String key,
String ccl,
Timestamp timestamp,
Order order,
Page page)
Return all the values stored for
key at timestamp in
every record that matches the ccl filter. |
<T> Map<Long,Set<T>> |
select(String key,
String ccl,
Timestamp timestamp,
Page page)
Return all the values stored for
key at timestamp in
every record that matches the ccl filter. |
<T> Map<Long,Map<String,Set<T>>> |
select(String ccl,
Timestamp timestamp)
Return all the data at
timestamp from every record that matches
the ccl filter. |
<T> Map<Long,Map<String,Set<T>>> |
select(String ccl,
Timestamp timestamp,
Order order)
Return all the data at
timestamp from every record that matches
the ccl filter. |
<T> Map<Long,Map<String,Set<T>>> |
select(String ccl,
Timestamp timestamp,
Order order,
Page page)
Return all the data at
timestamp from every record that matches
the ccl filter. |
<T> Map<Long,Map<String,Set<T>>> |
select(String ccl,
Timestamp timestamp,
Page page)
Return all the data at
timestamp from every record that matches
the ccl filter. |
void |
set(String key,
Object value,
Collection<Long> records)
In each of the
records, atomically remove all the values stored
for key and then add key as value in the
respective record. |
<T> void |
set(String key,
T value,
long record)
Atomically remove all the values stored for
key in record
and add then key as value. |
void |
stage()
Start a new transaction.
|
Timestamp |
time()
Return a
Timestamp that represents the current instant according
to the server. |
Timestamp |
time(String phrase)
Return the
Timestamp, according to the server, that corresponds
to the instant described by the phrase. |
Map<Long,Map<String,Set<Long>>> |
trace(Collection<Long> records)
Locate and return all the incoming
links to each of the
records. |
Map<Long,Map<String,Set<Long>>> |
trace(Collection<Long> records,
Timestamp timestamp)
Locate and return all the incoming
links to each of the
records. |
Map<String,Set<Long>> |
trace(long record)
Locate and return all the incoming
links to record. |
Map<String,Set<Long>> |
trace(long record,
Timestamp timestamp)
|
boolean |
unlink(String key,
long destination,
long source)
If it exists, remove the link from
key in source to
destination. |
boolean |
verify(String key,
Object value,
long record)
Return
true if value is stored for key in
record. |
boolean |
verify(String key,
Object value,
long record,
Timestamp timestamp)
Return
true if value was stored for key in
record at timestamp. |
boolean |
verifyAndSwap(String key,
Object expected,
long record,
Object replacement)
Atomically replace
expected with replacement for
key in record if and only if expected is
currently stored in the field. |
void |
verifyOrSet(String key,
Object value,
long record)
Atomically verify that
key equals expected in
record or set it as such. |
at, audit, audit, audit, audit, audit, audit, calculate, calculate, close, connect, connect, connect, connect, connect, connect, connectWithPrefs, connectWithPrefs, consolidate, copyExistingConnection, find, find, find, find, find, find, find, find, find, find, find, find, findOrInsert, findOrInsert, findOrInsert, findOrInsert, findOrInsert, findOrInsert, findOrInsert, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, get, insert, insert, insert, insert, insert, insert, insert, manage, navigate, navigate, reconcile, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, select, stage, time, time, trace, tracepublic void abort()
Concourse
After returning, the driver will return to autocommit mode and
all subsequent changes will be committed immediately.
Calling this method when the driver is not in staging mode is a
no-op.
public <T> long add(String key, T value)
Concoursekey as value in a new record.public <T> Map<Long,Boolean> add(String key, T value, Collection<Long> records)
Concoursekey as value in each of the
records where it doesn't exist.public <T> boolean add(String key, T value, long record)
Concoursekey as value in record if and only if it
doesn't exist.public Map<String,Map<Object,Set<Long>>> browse(Collection<String> keys)
Concoursekeys.public Map<String,Map<Object,Set<Long>>> browse(Collection<String> keys, Timestamp timestamp)
Concoursekeys at timestamp.browse in class Concoursekeys - a collection of field namestimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap associating each of the keys to a another
Map associating each indexed value to the Set of
records that contained that value in the key field at
timestamppublic Map<Object,Set<Long>> browse(String key)
Concoursekey.public Map<Object,Set<Long>> browse(String key, Timestamp timestamp)
Concoursekey at timestamp.browse in class Concoursekey - the field nametimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap associating each indexed value to the Set
of records that contained that value in the key field at
timestamppublic <T> Map<Timestamp,Set<T>> chronologize(String key, long record)
Concoursekey in record after every change made to the field.chronologize in class Concoursekey - the field namerecord - the record idMap associating the Timestamp of each change to
the Set of values that were stored in the field after
that changepublic <T> Map<Timestamp,Set<T>> chronologize(String key, long record, Timestamp start)
Concoursestart (inclusive) and the present
that contains a snapshot of the values stored for key in
record after every change made to the field during the time span.chronologize in class Concoursekey - the field namerecord - the record idstart - the first possible Timestamp to include in the time
series – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap associating the Timestamp of each change to
the Set of values that were stored in the field after
that changepublic <T> Map<Timestamp,Set<T>> chronologize(String key, long record, Timestamp start, Timestamp end)
Concoursestart (inclusive) and end
(non-inclusive) that contains a snapshot of the values stored for
key in record after every change made to the field during
the time span.chronologize in class Concoursekey - the field namerecord - the record idstart - the first possible Timestamp to include in the time
series – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectend - the Timestamp that should be greater than every
timestamp in the time series – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap associating the Timestamp of each change to
the Set of values that were stored in the field after
that changepublic void clear(Collection<Long> records)
Concourserecords.public void clear(Collection<String> keys, Collection<Long> records)
Concoursekeys in
each of the records.public void clear(Collection<String> keys, long record)
Concoursekeys in
record.public void clear(long record)
Concourserecord.public void clear(String key, Collection<Long> records)
Concoursekey in each of the
records.public void clear(String key, long record)
Concoursekey in recordpublic boolean commit()
Concoursetrue if and only if all the changes can be
applied. Otherwise, returns false and all the changes are
discarded.
After returning, the driver will return to autocommit mode and
all subsequent changes will be committed immediately.
This method will return false if it is called when the driver is
not in staging mode.
public boolean consolidate(long first,
long second,
long... remaining)
Concoursesecond and remaining
records into the first, 2) clear each of the
second and remaining records and 3) replace any outgoing
links to them with links to the first record.
This method effectively combines the data across the first,
second and remaining records within the first one
in an additive manner and replaces all references to the second
and remaining records with a reference to the first
across the document-graph.
NOTE: This method consolidates the present state of the records. Each of the input record's history is unaffected.
consolidate in class Concoursefirst record
links to one of the second or remaining records)public Set<String> describe()
Concoursepublic Map<Long,Set<String>> describe(Collection<Long> records)
Concourserecords, return all of the keys that have at
least one value.public Map<Long,Set<String>> describe(Collection<Long> records, Timestamp timestamp)
Concourserecords, return all the keys that had at least
one value at timestamp.describe in class Concourserecords - a collection of record idstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap associating each of the records to the
Set of keys that were in that record at timestamppublic Set<String> describe(long record)
Concourserecord that have at least one value.public Set<String> describe(long record, Timestamp timestamp)
Concourserecord that had at least one value at
timestamp.describe in class Concourserecord - the record idtimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectSet of keys that were in record at
timestamppublic Set<String> describe(Timestamp timestamp)
Concoursetimestamp.public <T> Map<String,Map<Diff,Set<T>>> diff(long record, Timestamp start)
Concourserecord since
start.
If you begin with the state of the record at start and
re-apply all the changes in the diff, you'll re-create the state of the
record at the present.
Unlike the audit method,
diff does not necessarily reflect ALL the
changes made to record during the time span.
diff in class Concourserecord - the record idstart - the base timestamp from which the diff is calculatedMap associating each key in the record to
another Map associating a change description
to the Set of values that fit the description (i.e.
{"key": {ADDED: ["value1", "value2"], REMOVED: ["value3", "value4"]}}
)public <T> Map<String,Map<Diff,Set<T>>> diff(long record, Timestamp start, Timestamp end)
Concourserecord from start
to end.
If you begin with the state of the record at start and
re-apply all the changes in the diff, you'll re-create the state of the
same record at end.
Unlike the audit method,
diff does not necessarily reflect ALL the
changes made to record during the time span.
diff in class Concourserecord - the record idstart - the base timestamp from which the diff is calculatedend - the comparison timestamp to which the diff is calculatedMap associating each key in the record to
another Map associating a change description
to the Set of values that fit the description (i.e.
{"key": {ADDED: ["value1", "value2"], REMOVED: ["value3", "value4"]}}
)public <T> Map<Diff,Set<T>> diff(String key, long record, Timestamp start)
Concoursekey in record since
start.
If you begin with the state of the field at start and re-apply
all the changes in the diff, you'll re-create the state of the same field
at the present.
diff in class Concoursekey - the field namerecord - the record idstart - the base timestamp from which the diff is calculatedMap associating a change description to
the Set of values that fit the description (i.e.
{ADDED: ["value1", "value2"], REMOVED: ["value3", "value4"]}
)public <T> Map<Diff,Set<T>> diff(String key, long record, Timestamp start, Timestamp end)
Concoursekey in record
from start to end.
If you begin with the state of the field at start and re-apply
all the changes in the diff, you'll re-create the state of the same field
at end.
diff in class Concoursekey - the field namerecord - the record idstart - the base timestamp from which the diff is calculatedend - the comparison timestamp to which the diff is calculatedMap associating a change description to
the Set of values that fit the description (i.e.
{ADDED: ["value1", "value2"], REMOVED: ["value3", "value4"]}
)public <T> Map<T,Map<Diff,Set<Long>>> diff(String key, Timestamp start)
Concoursekey field across all
records since start.
If you begin with the state of the inverted index for key at
start and re-apply all the changes in the diff, you'll re-create
the state of the same index at the present.
Unlike the audit method,
diff does not necessarily reflect ALL the
changes made to key in record during the time span.
diff in class Concoursekey - the field namestart - the base timestamp from which the diff is calculatedMap associating each value stored for key
across all records to another Map that associates a
change description to the Set of records
where the description applies to that value in the key
field (i.e.
{"value1": {ADDED: [1, 2], REMOVED: [3, 4]}}
)public <T> Map<T,Map<Diff,Set<Long>>> diff(String key, Timestamp start, Timestamp end)
Concoursekey field across all
records from start to end.
If you begin with the state of the inverted index for key at
start and re-apply all the changes in the diff, you'll re-create
the state of the same index at end.
Unlike the audit
method, diff does not necessarily return
ALL the changes made to key in record during the time
span.
diff in class Concoursekey - the field namestart - the base timestamp from which the diff is calculatedend - the comparison timestamp to which the diff is calculatedMap associating each value stored for key
across all records to another Map that associates a
change description to the Set of records
where the description applies to that value in the key
field (i.e.
{"value1": {ADDED: [1, 2], REMOVED: [3, 4]}}
)public void exit()
Concoursepublic Set<Long> find(Criteria criteria)
Concoursecriteria.public Set<Long> find(Criteria criteria, Order order)
Concoursecriteria.public Set<Long> find(Criteria criteria, Order order, Page page)
Concoursecriteria.find in class Concoursecriteria - a Criteria that contains a well-formed filter for
the desired recordsorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returncriteriapublic Set<Long> find(Criteria criteria, Page page)
Concoursecriteria.public Set<Long> find(String ccl)
Concourseccl filter.public Set<Long> find(String key, Object value)
Concoursekey equals value.
This method is a shortcut for calling
Concourse.find(String, Operator, Object) with Operator.EQUALS.
public Set<Long> find(String key, Object value, Order order)
Concoursekey equals value.
This method is a shortcut for calling
Concourse.find(String, Operator, Object) with Operator.EQUALS.
public Set<Long> find(String key, Object value, Order order, Page page)
Concoursekey equals value.
This method is a shortcut for calling
Concourse.find(String, Operator, Object) with Operator.EQUALS.
find in class Concoursekey - the field namevalue - the value that must exist in the key field for the
record to matchorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnkey = valuepublic Set<Long> find(String key, Object value, Page page)
Concoursekey equals value.
This method is a shortcut for calling
Concourse.find(String, Operator, Object) with Operator.EQUALS.
public Set<Long> find(String key, Object value, Timestamp timestamp)
Concoursekey was equal to value at timestamp.
This method is a shortcut for calling
Concourse.find(String, Operator, Object, Timestamp) with
Operator.EQUALS.
find in class Concoursekey - the field namevalue - the value that must exist in the key field for the
record to matchtimestamp - a Timestamp that represents the historical
instant to use when checking for matches – created from either
a natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectkey was equal to value at
timestamppublic Set<Long> find(String key, Object value, Timestamp timestamp, Order order)
Concoursekey was equal to value at timestamp.
This method is a shortcut for calling
Concourse.find(String, Operator, Object, Timestamp) with
Operator.EQUALS.
find in class Concoursekey - the field namevalue - the value that must exist in the key field for the
record to matchtimestamp - a Timestamp that represents the historical
instant to use when checking for matches – created from either
a natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedkey was equal to value at
timestamppublic Set<Long> find(String key, Object value, Timestamp timestamp, Order order, Page page)
Concoursekey was equal to value at timestamp.
This method is a shortcut for calling
Concourse.find(String, Operator, Object, Timestamp) with
Operator.EQUALS.
find in class Concoursekey - the field namevalue - the value that must exist in the key field for the
record to matchtimestamp - a Timestamp that represents the historical
instant to use when checking for matches – created from either
a natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnkey was equal to value at
timestamppublic Set<Long> find(String key, Object value, Timestamp timestamp, Page page)
Concoursekey was equal to value at timestamp.
This method is a shortcut for calling
Concourse.find(String, Operator, Object, Timestamp) with
Operator.EQUALS.
find in class Concoursekey - the field namevalue - the value that must exist in the key field for the
record to matchtimestamp - a Timestamp that represents the historical
instant to use when checking for matches – created from either
a natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectpage - a {@link Page) specification that describes the page of the
result set to returnkey was equal to value at
timestamppublic Set<Long> find(String key, Operator operator, Object value)
Concourserecords where the key field contains at
least one value that satisfies the operator in relation to the
value.find in class Concoursekey - the field nameoperator - the Operator to use when comparing the specified
value to those stored across the key field
while determining which records are matchesvalue - the comparison value for the operatorpublic Set<Long> find(String key, Operator operator, Object value, Object value2)
Concourserecords where the key field contains at
least one value that satisfies the operator in relation to
value and value2.find in class Concoursekey - the field nameoperator - the Operator to use when comparing the specified
values to those stored across the key field while
determining which records are matchesvalue - the first comparison value for the operatorvalue2 - the second comparison value for the operatorpublic Set<Long> find(String key, Operator operator, Object value, Object value2, Order order)
Concourserecords where the key field contains at
least one value that satisfies the operator in relation to
value and value2.find in class Concoursekey - the field nameoperator - the Operator to use when comparing the specified
values to those stored across the key field while
determining which records are matchesvalue - the first comparison value for the operatorvalue2 - the second comparison value for the operatororder - an Order specification that describes how the result
set should be sortedpublic Set<Long> find(String key, Operator operator, Object value, Object value2, Order order, Page page)
Concourserecords where the key field contains at
least one value that satisfies the operator in relation to
value and value2.find in class Concoursekey - the field nameoperator - the Operator to use when comparing the specified
values to those stored across the key field while
determining which records are matchesvalue - the first comparison value for the operatorvalue2 - the second comparison value for the operatororder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnpublic Set<Long> find(String key, Operator operator, Object value, Object value2, Page page)
Concourserecords where the key field contains at
least one value that satisfies the operator in relation to
value and value2.find in class Concoursekey - the field nameoperator - the Operator to use when comparing the specified
values to those stored across the key field while
determining which records are matchesvalue - the first comparison value for the operatorvalue2 - the second comparison value for the operatorpage - a {@link Page) specification that describes the page of the
result set to returnpublic Set<Long> find(String key, Operator operator, Object value, Object value2, Timestamp timestamp)
Concourserecords where the key field contained
at least one value at timestamp that satisfies the
operator in relation to value and value2.find in class Concoursekey - the field nameoperator - the Operator to use when comparing the specified
values to those stored across the key field while
determining which records are matchesvalue - the first comparison value for the operatorvalue2 - the second comparison value for the operatortimestamp - a Timestamp that represents the historical
instant to use when checking for matches – created from either
a natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectpublic Set<Long> find(String key, Operator operator, Object value, Object value2, Timestamp timestamp, Order order)
Concourserecords where the key field contained
at least one value at timestamp that satisfies the
operator in relation to value and value2.find in class Concoursekey - the field nameoperator - the Operator to use when comparing the specified
values to those stored across the key field while
determining which records are matchesvalue - the first comparison value for the operatorvalue2 - the second comparison value for the operatortimestamp - a Timestamp that represents the historical
instant to use when checking for matches – created from either
a natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedpublic Set<Long> find(String key, Operator operator, Object value, Object value2, Timestamp timestamp, Order order, Page page)
Concourserecords where the key field contained
at least one value at timestamp that satisfies the
operator in relation to value and value2.find in class Concoursekey - the field nameoperator - the Operator to use when comparing the specified
values to those stored across the key field while
determining which records are matchesvalue - the first comparison value for the operatorvalue2 - the second comparison value for the operatortimestamp - a Timestamp that represents the historical
instant to use when checking for matches – created from either
a natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnpublic Set<Long> find(String key, Operator operator, Object value, Object value2, Timestamp timestamp, Page page)
Concourserecords where the key field contained
at least one value at timestamp that satisfies the
operator in relation to value and value2.find in class Concoursekey - the field nameoperator - the Operator to use when comparing the specified
values to those stored across the key field while
determining which records are matchesvalue - the first comparison value for the operatorvalue2 - the second comparison value for the operatortimestamp - a Timestamp that represents the historical
instant to use when checking for matches – created from either
a natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectpage - a {@link Page) specification that describes the page of the
result set to returnpublic Set<Long> find(String key, Operator operator, Object value, Order order)
Concourserecords where the key field contains at
least one value that satisfies the operator in relation to the
value.find in class Concoursekey - the field nameoperator - the Operator to use when comparing the specified
value to those stored across the key field
while determining which records are matchesvalue - the comparison value for the operatororder - an Order specification that describes how the result
set should be sortedpublic Set<Long> find(String key, Operator operator, Object value, Order order, Page page)
Concourserecords where the key field contains at
least one value that satisfies the operator in relation to the
value.find in class Concoursekey - the field nameoperator - the Operator to use when comparing the specified
value to those stored across the key field
while determining which records are matchesvalue - the comparison value for the operatororder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnpublic Set<Long> find(String key, Operator operator, Object value, Page page)
Concourserecords where the key field contains at
least one value that satisfies the operator in relation to the
value.find in class Concoursekey - the field nameoperator - the Operator to use when comparing the specified
value to those stored across the key field
while determining which records are matchesvalue - the comparison value for the operatorpage - a {@link Page) specification that describes the page of the
result set to returnpublic Set<Long> find(String key, Operator operator, Object value, Timestamp timestamp)
Concourserecords where the key field contained
at least one value at that satisfies the operator in
relation to the value.find in class Concoursekey - the field nameoperator - the Operator to use when comparing the specified
value to those stored across the key field
while determining which records are matchesvalue - the comparison value for the operatortimestamp - a Timestamp that represents the historical
instant to use when checking for matches – created from either
a natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectpublic Set<Long> find(String key, Operator operator, Object value, Timestamp timestamp, Order order)
Concourserecords where the key field contained
at least one value at that satisfies the operator in
relation to the value.find in class Concoursekey - the field nameoperator - the Operator to use when comparing the specified
value to those stored across the key field
while determining which records are matchesvalue - the comparison value for the operatortimestamp - a Timestamp that represents the historical
instant to use when checking for matches – created from either
a natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedpublic Set<Long> find(String key, Operator operator, Object value, Timestamp timestamp, Order order, Page page)
Concourserecords where the key field contained
at least one value at that satisfies the operator in
relation to the value.find in class Concoursekey - the field nameoperator - the Operator to use when comparing the specified
value to those stored across the key field
while determining which records are matchesvalue - the comparison value for the operatortimestamp - a Timestamp that represents the historical
instant to use when checking for matches – created from either
a natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnpublic Set<Long> find(String key, Operator operator, Object value, Timestamp timestamp, Page page)
Concourserecords where the key field contained
at least one value at that satisfies the operator in
relation to the value.find in class Concoursekey - the field nameoperator - the Operator to use when comparing the specified
value to those stored across the key field
while determining which records are matchesvalue - the comparison value for the operatortimestamp - a Timestamp that represents the historical
instant to use when checking for matches – created from either
a natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectpage - a {@link Page) specification that describes the page of the
result set to returnpublic Set<Long> find(String ccl, Order order)
Concourseccl filter.public Set<Long> find(String ccl, Order order, Page page)
Concourseccl filter.find in class Concourseccl - a well-formed criteria expressed using the Concourse Criteria
Languageorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnpublic Set<Long> find(String ccl, Page page)
Concourseccl filter.public Set<Long> find(String key, String operator, Object value)
Concourserecords where the key field contains at
least one value that satisfies the operator in relation to the
value.find in class Concoursekey - the field nameoperator - a valid description of an Operator to use when comparing the
specified value to those stored across the key
field while determining which records are matchesvalue - the comparison value for the operatorpublic Set<Long> find(String key, String operator, Object value, Object value2)
Concourserecords where the key field contains at
least one value that satisfies the operator in relation to
value and value2.find in class Concoursekey - the field nameoperator - a valid description of an Operator to use when comparing the
specified value to those stored across the key
field while determining which records are matchesvalue - the first comparison value for the operatorvalue2 - the second comparison value for the operatorpublic Set<Long> find(String key, String operator, Object value, Object value2, Order order)
Concourserecords where the key field contains at
least one value that satisfies the operator in relation to
value and value2.find in class Concoursekey - the field nameoperator - a valid description of an Operator to use when comparing the
specified value to those stored across the key
field while determining which records are matchesvalue - the first comparison value for the operatorvalue2 - the second comparison value for the operatororder - an Order specification that describes how the result
set should be sortedpublic Set<Long> find(String key, String operator, Object value, Object value2, Order order, Page page)
Concourserecords where the key field contains at
least one value that satisfies the operator in relation to
value and value2.find in class Concoursekey - the field nameoperator - a valid description of an Operator to use when comparing the
specified value to those stored across the key
field while determining which records are matchesvalue - the first comparison value for the operatorvalue2 - the second comparison value for the operatororder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnpublic Set<Long> find(String key, String operator, Object value, Object value2, Page page)
Concourserecords where the key field contains at
least one value that satisfies the operator in relation to
value and value2.find in class Concoursekey - the field nameoperator - a valid description of an Operator to use when comparing the
specified value to those stored across the key
field while determining which records are matchesvalue - the first comparison value for the operatorvalue2 - the second comparison value for the operatorpage - a {@link Page) specification that describes the page of the
result set to returnpublic Set<Long> find(String key, String operator, Object value, Object value2, Timestamp timestamp)
Concourserecords where the key field contained
at least one value at timestamp that satisfies the
operator in relation to value and value2.find in class Concoursekey - the field nameoperator - a valid description of an Operator to use when comparing the
specified value to those stored across the key
field while determining which records are matchesvalue - the first comparison value for the operatorvalue2 - the second comparison value for the operatortimestamp - a Timestamp that represents the historical
instant to use when checking for matches – created from either
a natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectpublic Set<Long> find(String key, String operator, Object value, Object value2, Timestamp timestamp, Order order)
Concourserecords where the key field contained
at least one value at timestamp that satisfies the
operator in relation to value and value2.find in class Concoursekey - the field nameoperator - a valid description of an Operator to use when comparing the
specified value to those stored across the key
field while determining which records are matchesvalue - the first comparison value for the operatorvalue2 - the second comparison value for the operatortimestamp - a Timestamp that represents the historical
instant to use when checking for matches – created from either
a natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedpublic Set<Long> find(String key, String operator, Object value, Object value2, Timestamp timestamp, Order order, Page page)
Concourserecords where the key field contained
at least one value at timestamp that satisfies the
operator in relation to value and value2.find in class Concoursekey - the field nameoperator - a valid description of an Operator to use when comparing the
specified value to those stored across the key
field while determining which records are matchesvalue - the first comparison value for the operatorvalue2 - the second comparison value for the operatortimestamp - a Timestamp that represents the historical
instant to use when checking for matches – created from either
a natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnpublic Set<Long> find(String key, String operator, Object value, Object value2, Timestamp timestamp, Page page)
Concourserecords where the key field contained
at least one value at timestamp that satisfies the
operator in relation to value and value2.find in class Concoursekey - the field nameoperator - a valid description of an Operator to use when comparing the
specified value to those stored across the key
field while determining which records are matchesvalue - the first comparison value for the operatorvalue2 - the second comparison value for the operatortimestamp - a Timestamp that represents the historical
instant to use when checking for matches – created from either
a natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectpage - a {@link Page) specification that describes the page of the
result set to returnpublic Set<Long> find(String key, String operator, Object value, Order order)
Concourserecords where the key field contains at
least one value that satisfies the operator in relation to the
value.find in class Concoursekey - the field nameoperator - a valid description of an Operator to use when comparing the
specified value to those stored across the key
field while determining which records are matchesvalue - the comparison value for the operatororder - an Order specification that describes how the result
set should be sortedpublic Set<Long> find(String key, String operator, Object value, Order order, Page page)
Concourserecords where the key field contains at
least one value that satisfies the operator in relation to the
value.find in class Concoursekey - the field nameoperator - a valid description of an Operator to use when comparing the
specified value to those stored across the key
field while determining which records are matchesvalue - the comparison value for the operatororder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnpublic Set<Long> find(String key, String operator, Object value, Page page)
Concourserecords where the key field contains at
least one value that satisfies the operator in relation to the
value.find in class Concoursekey - the field nameoperator - a valid description of an Operator to use when comparing the
specified value to those stored across the key
field while determining which records are matchesvalue - the comparison value for the operatorpage - a {@link Page) specification that describes the page of the
result set to returnpublic Set<Long> find(String key, String operator, Object value, Timestamp timestamp)
Concourserecords where the key field contained
at least one value at timestamp that satisfies the
operator in relation to the value.find in class Concoursekey - the field nameoperator - a valid description of an Operator to use when comparing the
specified value to those stored across the key
field while determining which records are matchesvalue - the comparison value for the operatortimestamp - a Timestamp that represents the historical
instant to use when checking for matches – created from either
a natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectpublic Set<Long> find(String key, String operator, Object value, Timestamp timestamp, Order order)
Concourserecords where the key field contained
at least one value at timestamp that satisfies the
operator in relation to the value.find in class Concoursekey - the field nameoperator - a valid description of an Operator to use when comparing the
specified value to those stored across the key
field while determining which records are matchesvalue - the comparison value for the operatortimestamp - a Timestamp that represents the historical
instant to use when checking for matches – created from either
a natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedpublic Set<Long> find(String key, String operator, Object value, Timestamp timestamp, Order order, Page page)
Concourserecords where the key field contained
at least one value at timestamp that satisfies the
operator in relation to the value.find in class Concoursekey - the field nameoperator - a valid description of an Operator to use when comparing the
specified value to those stored across the key
field while determining which records are matchesvalue - the comparison value for the operatortimestamp - a Timestamp that represents the historical
instant to use when checking for matches – created from either
a natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnpublic Set<Long> find(String key, String operator, Object value, Timestamp timestamp, Page page)
Concourserecords where the key field contained
at least one value at timestamp that satisfies the
operator in relation to the value.find in class Concoursekey - the field nameoperator - a valid description of an Operator to use when comparing the
specified value to those stored across the key
field while determining which records are matchesvalue - the comparison value for the operatortimestamp - a Timestamp that represents the historical
instant to use when checking for matches – created from either
a natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectpage - a {@link Page) specification that describes the page of the
result set to returnpublic <T> long findOrAdd(String key, T value) throws DuplicateEntryException
Concoursekey equals
value, or throw a DuplicateEntryException if multiple
records match the condition. If no record matches,
add key as value into an new
record and return the id.
This method can be used to simulate a unique index because it atomically checks for a condition and only adds data if that condition isn't currently satisfied.
findOrAdd in class Concoursekey - the field namevalue - the value that must exist in the key field of a
single record for that record to match or the value that is
added to the key field in a new record if no existing
record matches the conditionkey = value, if one exist
or the record where the key as value is addedDuplicateEntryExceptionpublic long findOrInsert(Criteria criteria, String json) throws DuplicateEntryException
Concoursecriteria, if one exist
or throw a DuplicateEntryException if multiple records match. If
no record matches, Concourse.insert(String) the json into a new
record and return the id.
This method can be used to simulate a unique index because it atomically checks for a condition and only inserts data if that condition isn't currently satisfied.
findOrInsert in class Concoursecriteria - a Criteria that contains a well-formed filter for
the desired recordcriteria, if one exist or
the record where the json data is insertedDuplicateEntryExceptionpublic long findOrInsert(String ccl, String json) throws DuplicateEntryException
Concourseccl filter, if one
exist or throw a DuplicateEntryException if multiple records
match. If no record matches, Concourse.insert(String) the json
into a new record and return the id.
This method can be used to simulate a unique index because it atomically checks for a condition and only inserts data if that condition isn't currently satisfied.
findOrInsert in class Concourseccl - a well-formed criteria expressed using the Concourse Criteria
Languagejson - a JSON blob describing a single objectccl string, if one exist
or the record where the json data is insertedDuplicateEntryExceptionpublic <T> Map<Long,Map<String,T>> get(Collection<String> keys, Collection<Long> records)
Concoursekeys in each of the records, return the
stored value that was most recently added.public <T> Map<Long,Map<String,T>> get(Collection<String> keys, Collection<Long> records, Order order)
Concoursekeys in each of the records, return the
stored value that was most recently added.get in class Concoursekeys - a collection of field namesrecords - a collection of record idsorder - an Order specification that describes how the result
set should be sortedMap associating each of the records to another
Map associating each of the keys to the freshest
value in the fieldpublic <T> Map<Long,Map<String,T>> get(Collection<String> keys, Collection<Long> records, Order order, Page page)
Concoursekeys in each of the records, return the
stored value that was most recently added.get in class Concoursekeys - a collection of field namesrecords - a collection of record idsorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the records to another
Map associating each of the keys to the freshest
value in the fieldpublic <T> Map<Long,Map<String,T>> get(Collection<String> keys, Collection<Long> records, Page page)
Concoursekeys in each of the records, return the
stored value that was most recently added.get in class Concoursekeys - a collection of field namesrecords - a collection of record idspage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the records to another
Map associating each of the keys to the freshest
value in the fieldpublic <T> Map<Long,Map<String,T>> get(Collection<String> keys, Collection<Long> records, Timestamp timestamp)
Concoursekeys in each of the records, return the
stored value that was most recently added at timestamp.get in class Concoursekeys - a collection of field namesrecords - a collection of record idstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap associating each of the records to another
Map associating each of the keys to the freshest
value in the field at timestamppublic <T> Map<Long,Map<String,T>> get(Collection<String> keys, Collection<Long> records, Timestamp timestamp, Order order)
Concoursekeys in each of the records, return the
stored value that was most recently added at timestamp.get in class Concoursekeys - a collection of field namesrecords - a collection of record idstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedMap associating each of the records to another
Map associating each of the keys to the freshest
value in the field at timestamppublic <T> Map<Long,Map<String,T>> get(Collection<String> keys, Collection<Long> records, Timestamp timestamp, Order order, Page page)
Concoursekeys in each of the records, return the
stored value that was most recently added at timestamp.get in class Concoursekeys - a collection of field namesrecords - a collection of record idstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the records to another
Map associating each of the keys to the freshest
value in the field at timestamppublic <T> Map<Long,Map<String,T>> get(Collection<String> keys, Collection<Long> records, Timestamp timestamp, Page page)
Concoursekeys in each of the records, return the
stored value that was most recently added at timestamp.get in class Concoursekeys - a collection of field namesrecords - a collection of record idstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the records to another
Map associating each of the keys to the freshest
value in the field at timestamppublic <T> Map<Long,Map<String,T>> get(Collection<String> keys, Criteria criteria)
Concoursekeys in every record that matches the
criteria, return the stored value that was most recently added.public <T> Map<Long,Map<String,T>> get(Collection<String> keys, Criteria criteria, Order order)
Concoursekeys in every record that matches the
criteria, return the stored value that was most recently added.get in class Concoursekeys - a collection of field namescriteria - a Criteria that contains a well-formed filter for
the desired recordsorder - an Order specification that describes how the result
set should be sortedMap associating each of the matching records to another
Map associating each of the keys to the freshest
value in the fieldpublic <T> Map<Long,Map<String,T>> get(Collection<String> keys, Criteria criteria, Order order, Page page)
Concoursekeys in every record that matches the
criteria, return the stored value that was most recently added.get in class Concoursekeys - a collection of field namescriteria - a Criteria that contains a well-formed filter for
the desired recordsorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to another
Map associating each of the keys to the freshest
value in the fieldpublic <T> Map<Long,Map<String,T>> get(Collection<String> keys, Criteria criteria, Page page)
Concoursekeys in every record that matches the
criteria, return the stored value that was most recently added.get in class Concoursekeys - a collection of field namescriteria - a Criteria that contains a well-formed filter for
the desired recordspage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to another
Map associating each of the keys to the freshest
value in the fieldpublic <T> Map<Long,Map<String,T>> get(Collection<String> keys, Criteria criteria, Timestamp timestamp)
Concoursekeys in every record that matches the
criteria, return the stored value that was most recently added at
timestamp.get in class Concoursekeys - a collection of field namescriteria - a Criteria that contains a well-formed filter for
the desired recordstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap associating each of the matching records to another
Map associating each of the keys to the freshest
value in the field at timestamppublic <T> Map<Long,Map<String,T>> get(Collection<String> keys, Criteria criteria, Timestamp timestamp, Order order)
Concoursekeys in every record that matches the
criteria, return the stored value that was most recently added at
timestamp.get in class Concoursekeys - a collection of field namescriteria - a Criteria that contains a well-formed filter for
the desired recordstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedMap associating each of the matching records to another
Map associating each of the keys to the freshest
value in the field at timestamppublic <T> Map<Long,Map<String,T>> get(Collection<String> keys, Criteria criteria, Timestamp timestamp, Order order, Page page)
Concoursekeys in every record that matches the
criteria, return the stored value that was most recently added at
timestamp.get in class Concoursekeys - a collection of field namescriteria - a Criteria that contains a well-formed filter for
the desired recordstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to another
Map associating each of the keys to the freshest
value in the field at timestamppublic <T> Map<Long,Map<String,T>> get(Collection<String> keys, Criteria criteria, Timestamp timestamp, Page page)
Concoursekeys in every record that matches the
criteria, return the stored value that was most recently added at
timestamp.get in class Concoursekeys - a collection of field namescriteria - a Criteria that contains a well-formed filter for
the desired recordstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to another
Map associating each of the keys to the freshest
value in the field at timestamppublic <T> Map<String,T> get(Collection<String> keys, long record)
Concoursekeys in record, return the stored value
that was most recently added.public <T> Map<String,T> get(Collection<String> keys, long record, Timestamp timestamp)
Concoursekeys in record, return the stored value
that was most recently added at timestamp.get in class Concoursekeys - a collection of field namesrecord - the record idtimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap associating each of the keys to the
freshest value in the field at timestamppublic <T> Map<Long,Map<String,T>> get(Collection<String> keys, String ccl)
Concoursekeys in every record that matches the ccl
filter, return the stored value that was most recently added.public <T> Map<Long,Map<String,T>> get(Collection<String> keys, String ccl, Order order)
Concoursekeys in every record that matches the ccl
filter, return the stored value that was most recently added.get in class Concoursekeys - a collection of field namesccl - a well-formed criteria expressed using the Concourse Criteria
Languageorder - an Order specification that describes how the result
set should be sortedMap associating each of the matching records to another
Map associating each of the keys to the freshest
value in the fieldpublic <T> Map<Long,Map<String,T>> get(Collection<String> keys, String ccl, Order order, Page page)
Concoursekeys in every record that matches the ccl
filter, return the stored value that was most recently added.get in class Concoursekeys - a collection of field namesccl - a well-formed criteria expressed using the Concourse Criteria
Languageorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to another
Map associating each of the keys to the freshest
value in the fieldpublic <T> Map<Long,Map<String,T>> get(Collection<String> keys, String ccl, Page page)
Concoursekeys in every record that matches the ccl
filter, return the stored value that was most recently added.get in class Concoursekeys - a collection of field namesccl - a well-formed criteria expressed using the Concourse Criteria
Languagepage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to another
Map associating each of the keys to the freshest
value in the fieldpublic <T> Map<Long,Map<String,T>> get(Collection<String> keys, String ccl, Timestamp timestamp)
Concoursekeys in every record that matches the ccl
filter, return the stored value that was most recently added at
timestamp.get in class Concoursekeys - a collection of field namesccl - a well-formed criteria expressed using the Concourse Criteria
Languagetimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap associating each of the matching records to another
Map associating each of the keys to the freshest
value in the field at timestamppublic <T> Map<Long,Map<String,T>> get(Collection<String> keys, String ccl, Timestamp timestamp, Order order)
Concoursekeys in every record that matches the ccl
filter, return the stored value that was most recently added at
timestamp.get in class Concoursekeys - a collection of field namesccl - a well-formed criteria expressed using the Concourse Criteria
Languagetimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedMap associating each of the matching records to another
Map associating each of the keys to the freshest
value in the field at timestamppublic <T> Map<Long,Map<String,T>> get(Collection<String> keys, String ccl, Timestamp timestamp, Order order, Page page)
Concoursekeys in every record that matches the ccl
filter, return the stored value that was most recently added at
timestamp.get in class Concoursekeys - a collection of field namesccl - a well-formed criteria expressed using the Concourse Criteria
Languagetimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to another
Map associating each of the keys to the freshest
value in the field at timestamppublic <T> Map<Long,Map<String,T>> get(Collection<String> keys, String ccl, Timestamp timestamp, Page page)
Concoursekeys in every record that matches the ccl
filter, return the stored value that was most recently added at
timestamp.get in class Concoursekeys - a collection of field namesccl - a well-formed criteria expressed using the Concourse Criteria
Languagetimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to another
Map associating each of the keys to the freshest
value in the field at timestamppublic <T> Map<Long,Map<String,T>> get(Criteria criteria)
Concoursecriteria, return
the stored value that was most recently added.public <T> Map<Long,Map<String,T>> get(Criteria criteria, Order order)
Concoursecriteria, return
the stored value that was most recently added.get in class Concoursecriteria - a Criteria that contains a well-formed filter for
the desired recordsorder - an Order specification that describes how the result
set should be sortedMap associating each of the matching records to another
Map associating each of the record's keys to the freshest
value in the fieldpublic <T> Map<Long,Map<String,T>> get(Criteria criteria, Order order, Page page)
Concoursecriteria, return
the stored value that was most recently added.get in class Concoursecriteria - a Criteria that contains a well-formed filter for
the desired recordsorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to another
Map associating each of the record's keys to the freshest
value in the fieldpublic <T> Map<Long,Map<String,T>> get(Criteria criteria, Page page)
Concoursecriteria, return
the stored value that was most recently added.get in class Concoursecriteria - a Criteria that contains a well-formed filter for
the desired recordspage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to another
Map associating each of the record's keys to the freshest
value in the fieldpublic <T> Map<Long,Map<String,T>> get(Criteria criteria, Timestamp timestamp)
Concoursecriteria, return
the stored value that was most recently added at timestamp .get in class Concoursecriteria - a Criteria that contains a well-formed filter for
the desired recordstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap associating each of the matching records to another
Map associating each of the record's keys to the freshest
value in the field at timestamppublic <T> Map<Long,Map<String,T>> get(Criteria criteria, Timestamp timestamp, Order order)
Concoursecriteria, return
the stored value that was most recently added at timestamp .get in class Concoursecriteria - a Criteria that contains a well-formed filter for
the desired recordstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedMap associating each of the matching records to another
Map associating each of the record's keys to the freshest
value in the field at timestamppublic <T> Map<Long,Map<String,T>> get(Criteria criteria, Timestamp timestamp, Order order, Page page)
Concoursecriteria, return
the stored value that was most recently added at timestamp .get in class Concoursecriteria - a Criteria that contains a well-formed filter for
the desired recordstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to another
Map associating each of the record's keys to the freshest
value in the field at timestamppublic <T> Map<Long,Map<String,T>> get(Criteria criteria, Timestamp timestamp, Page page)
Concoursecriteria, return
the stored value that was most recently added at timestamp .get in class Concoursecriteria - a Criteria that contains a well-formed filter for
the desired recordstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to another
Map associating each of the record's keys to the freshest
value in the field at timestamppublic <T> Map<Long,Map<String,T>> get(String ccl)
Concourseccl filter, return
the stored value that was most recently added.public <T> Map<Long,T> get(String key, Collection<Long> records)
Concourserecords, return the stored value in the
key field that was most recently added.public <T> Map<Long,T> get(String key, Collection<Long> records, Order order)
Concourserecords, return the stored value in the
key field that was most recently added.public <T> Map<Long,T> get(String key, Collection<Long> records, Order order, Page page)
Concourserecords, return the stored value in the
key field that was most recently added.get in class Concoursekey - the field namerecords - a collection of record idsorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the records to the
freshest value in the key fieldpublic <T> Map<Long,T> get(String key, Collection<Long> records, Page page)
Concourserecords, return the stored value in the
key field that was most recently added.public <T> Map<Long,T> get(String key, Collection<Long> records, Timestamp timestamp)
Concourserecords, return the stored value in the
key field that was most recently added at timestampget in class Concoursekey - the field namerecords - a collection of record idstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap associating each of the records to the
freshest value in the key field at timestamppublic <T> Map<Long,T> get(String key, Collection<Long> records, Timestamp timestamp, Order order)
Concourserecords, return the stored value in the
key field that was most recently added at timestampget in class Concoursekey - the field namerecords - a collection of record idstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedMap associating each of the records to the
freshest value in the key field at timestamppublic <T> Map<Long,T> get(String key, Collection<Long> records, Timestamp timestamp, Order order, Page page)
Concourserecords, return the stored value in the
key field that was most recently added at timestampget in class Concoursekey - the field namerecords - a collection of record idstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the records to the
freshest value in the key field at timestamppublic <T> Map<Long,T> get(String key, Collection<Long> records, Timestamp timestamp, Page page)
Concourserecords, return the stored value in the
key field that was most recently added at timestampget in class Concoursekey - the field namerecords - a collection of record idstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the records to the
freshest value in the key field at timestamppublic <T> Map<Long,T> get(String key, Criteria criteria)
Concoursecriteria, return the stored
value in the key field that was most recently added.public <T> Map<Long,T> get(String key, Criteria criteria, Order order)
Concoursecriteria, return the stored
value in the key field that was most recently added.get in class Concoursekey - the field namecriteria - a Criteria that contains a well-formed filter for
the desired recordsorder - an Order specification that describes how the result
set should be sortedMap associating each of the matching records to the
freshest value in the key fieldpublic <T> Map<Long,T> get(String key, Criteria criteria, Order order, Page page)
Concoursecriteria, return the stored
value in the key field that was most recently added.get in class Concoursekey - the field namecriteria - a Criteria that contains a well-formed filter for
the desired recordsorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to the
freshest value in the key fieldpublic <T> Map<Long,T> get(String key, Criteria criteria, Page page)
Concoursecriteria, return the stored
value in the key field that was most recently added.get in class Concoursekey - the field namecriteria - a Criteria that contains a well-formed filter for
the desired recordspage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to the
freshest value in the key fieldpublic <T> Map<Long,T> get(String key, Criteria criteria, Timestamp timestamp)
Concoursecriteria, return the stored
value in the key field that was most recently added at
timestamp.get in class Concoursekey - the field namecriteria - a Criteria that contains a well-formed filter for
the desired recordstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap associating each of the matching records to the
freshest value in the key fieldpublic <T> Map<Long,T> get(String key, Criteria criteria, Timestamp timestamp, Order order)
Concoursecriteria, return the stored
value in the key field that was most recently added at
timestamp.get in class Concoursekey - the field namecriteria - a Criteria that contains a well-formed filter for
the desired recordstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedMap associating each of the matching records to the
freshest value in the key fieldpublic <T> Map<Long,T> get(String key, Criteria criteria, Timestamp timestamp, Order order, Page page)
Concoursecriteria, return the stored
value in the key field that was most recently added at
timestamp.get in class Concoursekey - the field namecriteria - a Criteria that contains a well-formed filter for
the desired recordstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to the
freshest value in the key fieldpublic <T> Map<Long,T> get(String key, Criteria criteria, Timestamp timestamp, Page page)
Concoursecriteria, return the stored
value in the key field that was most recently added at
timestamp.get in class Concoursekey - the field namecriteria - a Criteria that contains a well-formed filter for
the desired recordstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to the
freshest value in the key fieldpublic <T> T get(String key, long record)
Concoursekey in
record. If the field is empty, return null.public <T> T get(String key, long record, Timestamp timestamp)
Concoursekey in
record at timestamp. If the field was empty at
timestamp, return null.get in class Concoursekey - the field namerecord - the record idtimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objecttimestamppublic <T> Map<Long,Map<String,T>> get(String ccl, Order order)
Concourseccl filter, return
the stored value that was most recently added.get in class Concourseccl - a well-formed criteria expressed using the Concourse Criteria
Languageorder - an Order specification that describes how the result
set should be sortedMap associating each of the matching records to another
Map associating each of the record's keys to the freshest
value in the fieldpublic <T> Map<Long,Map<String,T>> get(String ccl, Order order, Page page)
Concourseccl filter, return
the stored value that was most recently added.get in class Concourseccl - a well-formed criteria expressed using the Concourse Criteria
Languageorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to another
Map associating each of the record's keys to the freshest
value in the fieldpublic <T> Map<Long,Map<String,T>> get(String ccl, Page page)
Concourseccl filter, return
the stored value that was most recently added.get in class Concourseccl - a well-formed criteria expressed using the Concourse Criteria
Languagepage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to another
Map associating each of the record's keys to the freshest
value in the fieldpublic <T> Map<Long,T> get(String key, String ccl)
Concourseccl filter, return the stored
value in the key field that was most recently added.
This method is syntactic sugar for Concourse.get(String, Criteria). The
only difference is that this method takes a in-process Criteria
building sequence for convenience.
public <T> Map<Long,T> get(String key, String ccl, Order order)
Concourseccl filter, return the stored
value in the key field that was most recently added.
This method is syntactic sugar for Concourse.get(String, Criteria). The
only difference is that this method takes a in-process Criteria
building sequence for convenience.
get in class Concoursekey - the field nameccl - a well-formed criteria expressed using the Concourse Criteria
Languageorder - an Order specification that describes how the result
set should be sortedMap associating each of the matching records to the
freshest value in the key fieldpublic <T> Map<Long,T> get(String key, String ccl, Order order, Page page)
Concourseccl filter, return the stored
value in the key field that was most recently added.
This method is syntactic sugar for Concourse.get(String, Criteria). The
only difference is that this method takes a in-process Criteria
building sequence for convenience.
get in class Concoursekey - the field nameccl - a well-formed criteria expressed using the Concourse Criteria
Languageorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to the
freshest value in the key fieldpublic <T> Map<Long,T> get(String key, String ccl, Page page)
Concourseccl filter, return the stored
value in the key field that was most recently added.
This method is syntactic sugar for Concourse.get(String, Criteria). The
only difference is that this method takes a in-process Criteria
building sequence for convenience.
get in class Concoursekey - the field nameccl - a well-formed criteria expressed using the Concourse Criteria
Languagepage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to the
freshest value in the key fieldpublic <T> Map<Long,T> get(String key, String ccl, Timestamp timestamp)
Concourseccl filter, return the stored
value in the key field that was most recently added at
timestamp.
This method is syntactic sugar for
Concourse.get(String, Criteria, Timestamp). The only difference is that
this method takes a in-process Criteria building sequence for
convenience.
get in class Concoursekey - the field nameccl - a well-formed criteria expressed using the Concourse Criteria
Languagetimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap associating each of the matching records to the
freshest value in the key field at timestamppublic <T> Map<Long,T> get(String key, String ccl, Timestamp timestamp, Order order)
Concourseccl filter, return the stored
value in the key field that was most recently added at
timestamp.
This method is syntactic sugar for
Concourse.get(String, Criteria, Timestamp). The only difference is that
this method takes a in-process Criteria building sequence for
convenience.
get in class Concoursekey - the field nameccl - a well-formed criteria expressed using the Concourse Criteria
Languagetimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedMap associating each of the matching records to the
freshest value in the key field at timestamppublic <T> Map<Long,T> get(String key, String ccl, Timestamp timestamp, Order order, Page page)
Concourseccl filter, return the stored
value in the key field that was most recently added at
timestamp.
This method is syntactic sugar for
Concourse.get(String, Criteria, Timestamp). The only difference is that
this method takes a in-process Criteria building sequence for
convenience.
get in class Concoursekey - the field nameccl - a well-formed criteria expressed using the Concourse Criteria
Languagetimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to the
freshest value in the key field at timestamppublic <T> Map<Long,T> get(String key, String ccl, Timestamp timestamp, Page page)
Concourseccl filter, return the stored
value in the key field that was most recently added at
timestamp.
This method is syntactic sugar for
Concourse.get(String, Criteria, Timestamp). The only difference is that
this method takes a in-process Criteria building sequence for
convenience.
get in class Concoursekey - the field nameccl - a well-formed criteria expressed using the Concourse Criteria
Languagetimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to the
freshest value in the key field at timestamppublic <T> Map<Long,Map<String,T>> get(String ccl, Timestamp timestamp)
Concourseccl filter, return
the stored value that was most recently added.get in class Concourseccl - a well-formed criteria expressed using the Concourse Criteria
Languagetimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap associating each of the matching records to another
Map associating each of the record's keys to the freshest
value in the fieldpublic <T> Map<Long,Map<String,T>> get(String ccl, Timestamp timestamp, Order order)
Concourseccl filter, return
the stored value that was most recently added.get in class Concourseccl - a well-formed criteria expressed using the Concourse Criteria
Languagetimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedMap associating each of the matching records to another
Map associating each of the record's keys to the freshest
value in the fieldpublic <T> Map<Long,Map<String,T>> get(String ccl, Timestamp timestamp, Order order, Page page)
Concourseccl filter, return
the stored value that was most recently added.get in class Concourseccl - a well-formed criteria expressed using the Concourse Criteria
Languagetimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to another
Map associating each of the record's keys to the freshest
value in the fieldpublic <T> Map<Long,Map<String,T>> get(String ccl, Timestamp timestamp, Page page)
Concourseccl filter, return
the stored value that was most recently added.get in class Concourseccl - a well-formed criteria expressed using the Concourse Criteria
Languagetimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to another
Map associating each of the record's keys to the freshest
value in the fieldpublic String getServerEnvironment()
ConcoursegetServerEnvironment in class Concoursepublic String getServerVersion()
ConcoursegetServerVersion in class Concoursepublic Set<Long> insert(String json)
Concoursejson string
into as many new records as necessary.
If the json string contains a top-level array (of objects), this
method will insert each of the objects in a new and distinct record. The
Set that is returned will contain the ids of all those records.
On the other hand, if the json string contains a single top-level
object, this method will insert that object in a single new record. The
Set that is returned will only contain the id of that record.
Regardless of whether the top-level element is an object or an array,
each object in the json string contains one or more keys, each of
which maps to a JSON primitive or an array of JSON primitives (e.g. no
nested objects or arrays).
public Map<Long,Boolean> insert(String json, Collection<Long> records)
Concoursejson object
into each of the records, if possible.
An insert will fail for a given record if any of the key/value
associations in the json object currently exist in that record
(e.g. adding the key/value association
would fail).
The json must contain a top-level object that contains one or
more keys, each of which maps to a JSON primitive or an array of JSON
primitives (e.g. no nested objects or arrays).
public boolean insert(String json, long record)
Concoursejson object
into record, if possible.
The insert will fail if any of the key/value associations in the
json object currently exist in record (e.g.
adding the key/value association would
fail).
The json must contain a JSON object that contains one or more
keys, each of which maps to a JSON primitive or an array of JSON
primitives.
public Set<Long> inventory()
Concoursepublic <T> T invokePlugin(String id, String method, Object... args)
Concoursemethod using args within the plugin identified by
id.
There must be a class named id available in Concourse Server via
a plugin distribution. The method must also be accessible within
the class.
If the plugin throws any Exception, it'll be re-thrown here as a
RuntimeException.
invokePlugin in class Concourseid - the fully qualified name of the plugin class (e.g.
com.cinchapi.plugin.PluginClass)method - the name of the method within the pluginClassargs - the arguments to pass to the methodpublic String jsonify(Collection<Long> records)
Concourserecords as a JSON array
of objects.public String jsonify(Collection<Long> records, boolean identifier)
Concourserecords as a JSON array
of objects and optionally include a special identifier key that
contains the record id for each of the dumped objects.jsonify in class Concourserecords - a collection of record idsidentifier - a boolean that indicates whether to include a special
key (Constants.JSON_RESERVED_IDENTIFIER_NAME) that
maps to the record id in each of the dumped objectsrecords, respectivelypublic String jsonify(Collection<Long> records, Timestamp timestamp)
Concourserecords at
timestamp as a JSON array of objects.jsonify in class Concourserecords - a collection of record idstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectrecords at timestamp, respectivelypublic String jsonify(Collection<Long> records, Timestamp timestamp, boolean identifier)
Concourserecords at
timestamp as a JSON array of objects and optionally include a
special identifier key that contains the record id for each of
the dumped objects.jsonify in class Concourserecords - a collection of record idstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectidentifier - a boolean that indicates whether to include a special
key (Constants.JSON_RESERVED_IDENTIFIER_NAME) that
maps to the record id in each of the dumped objectsrecords at timestamp, respectivelypublic String jsonify(long record)
Concourserecord as a JSON object.public String jsonify(long record, boolean identifier)
Concourserecord as a JSON object and
optionally include a special identifier key that contains the
record id.jsonify in class Concourserecord - the record ididentifier - a boolean that indicates whether to include a special
key (Constants.JSON_RESERVED_IDENTIFIER_NAME) that
maps to the record id in each of the dumped objectsrecordpublic String jsonify(long record, Timestamp timestamp)
Concourserecord at timestamp as a
JSON object.jsonify in class Concourserecord - the record idtimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectrecord at
timestamppublic String jsonify(long record, Timestamp timestamp, boolean identifier)
Concourserecord at timestamp as a
JSON object and optionally include a special identifier key that
contains the record id.jsonify in class Concourserecord - the record idtimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectidentifier - a boolean that indicates whether to include a special
key (Constants.JSON_RESERVED_IDENTIFIER_NAME) that
maps to the record id in each of the dumped objectsrecord at
timestamppublic Map<Long,Boolean> link(String key, Collection<Long> destinations, long source)
Concoursekey in source to each of the
destinations.link in class Concoursekey - the field namedestinations - a collection of ids for the records where each of the
links points, respectivelysource - the id of the record where each of the links originateMap associating the ids for each of the
destinations to a boolean that indicates whether the link
was successfully addedpublic boolean link(String key, long destination, long source)
Concoursekey in source to destination.public <T> Map<Long,Map<String,Set<T>>> navigate(Collection<String> keys, Collection<Long> records)
Concoursekeys,
starting at each of the records and return the data contained at
each of the destinations.navigate in class Concoursekeys - a collection of navigation keysrecords - a collection of record ids from which the navigation
startsMap associating each of the destination records
to another Map associating each of the destination
keys to a Set containing all the values stored in
the respective fieldspublic <T> Map<Long,Map<String,Set<T>>> navigate(Collection<String> keys, Collection<Long> records, Timestamp timestamp)
Concoursetimestamp along each of the
navigation keys, starting at each of the records and
return the data contained at each of the destinations at
timestamp.navigate in class Concoursekeys - a collection of navigation keysrecords - a collection of record ids from which the navigation
startstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap associating each of the destination records
to another Map associating each of the destination
keys to a Set containing all the values stored in
the respective fields at timestamppublic <T> Map<Long,Map<String,Set<T>>> navigate(Collection<String> keys, Criteria criteria)
Concoursekeys,
starting at each of the records that match the criteria and
return the data contained at each of the destinations.navigate in class Concoursekeys - a collection of navigation keyscriteria - a Criteria that contains a well-formed filter for
the desired recordsMap associating each of the destination records
to another Map associating each of the destination
keys to a Set containing all the values stored in
the respective fieldspublic <T> Map<Long,Map<String,Set<T>>> navigate(Collection<String> keys, Criteria criteria, Timestamp timestamp)
Concoursetimestamp along each of the
navigation keys, starting at each of the records that matched the
criteria and return the data contained at each of the
destinations at timestamp.navigate in class Concoursekeys - a collection of navigation keyscriteria - a Criteria that contains a well-formed filter for
the desired recordstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap associating each of the destination records
to another Map associating each of the destination
keys to a Set containing all the values stored in
the respective fields at timestamppublic <T> Map<Long,Map<String,Set<T>>> navigate(Collection<String> keys, long record)
Concoursekeys,
starting at record and return the data contained at each of the
destinations.navigate in class Concoursekeys - a collection of navigation keysrecord - the record id from which the navigation startsMap associating each of the destination records
to another Map associating each of the destination
keys to a Set containing all the values stored in
the respective fieldspublic <T> Map<Long,Map<String,Set<T>>> navigate(Collection<String> keys, long record, Timestamp timestamp)
Concoursetimestamp along each of the
navigation keys, starting at record and return the data
contained at each of the destinations at timestamp.navigate in class Concoursekeys - a collection of navigation keysrecord - the record id from which the navigation startstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap associating each of the destination records
to another Map associating each of the destination
keys to a Set containing all the values stored in
the respective fields at timestamppublic <T> Map<Long,Map<String,Set<T>>> navigate(Collection<String> keys, String ccl)
Concoursekeys,
starting at each of the records that match the criteria and
return the data contained at each of the destinations.navigate in class Concoursekeys - a collection of navigation keysMap associating each of the destination records
to another Map associating each of the destination
keys to a Set containing all the values stored in
the respective fieldspublic <T> Map<Long,Map<String,Set<T>>> navigate(Collection<String> keys, String ccl, Timestamp timestamp)
Concoursetimestamp along each of the
navigation keys, starting at each of the records that matched the
criteria and return the data contained at each of the
destinations at timestamp.navigate in class Concoursekeys - a collection of navigation keystimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap associating each of the destination records
to another Map associating each of the destination
keys to a Set containing all the values stored in
the respective fields at timestamppublic <T> Map<Long,Set<T>> navigate(String key, Collection<Long> records)
Concoursekey in each of the records.
Navigates through the key splited with dot(.) operator. Iterates only if
the key has a link as value which points to another record.public <T> Map<Long,Set<T>> navigate(String key, Collection<Long> records, Timestamp timestamp)
Concoursekey in each of the records
at timestamp.Navigates through the key splited with dot(.)
operator.
Iterates only if the key has a link as value which points to another record.
navigate in class Concoursekey - the field namerecords - a collection of record idstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap associating each of the records to a
Set containing all the values stored in the respective
fieldpublic <T> Map<Long,Set<T>> navigate(String key, Criteria criteria)
Concoursekey in every record that matches
the Criteria filter. Navigates through the key splited with
dot(.) operator.
Iterates only if the key has a link as value which points to another record.
public <T> Map<Long,Set<T>> navigate(String key, Criteria criteria, Timestamp timestamp)
Concoursekey in every record that matches
the Criteria filter. Navigates through the key splited with
dot(.) operator.
Iterates only if the key has a link as value which points to another record.
navigate in class Concoursekey - the field nametimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap associating each of the the matching records to a
Set containing all the values stored in the respective
fieldpublic <T> Map<Long,Set<T>> navigate(String key, long record)
Concoursekey in record.Iterates
through the key splitted with dot(.) operator. Navigates only if the key
has a link as value which points to another record.public <T> Map<Long,Set<T>> navigate(String key, long record, Timestamp timestamp)
Concoursekey in record at
timestamp. Navigates through the key splitted with dot(.)
operator. Iterates only if the key has a link as value which points to
another record.navigate in class Concoursekey - the field namerecord - the record idtimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap containing all the values stored in the field at
timestamppublic <T> Map<Long,Set<T>> navigate(String key, String ccl)
Concoursekey in every record that matches
the ccl filter. Navigates through the key splited with dot(.)
operator.
Iterates only if the key has a link as value which points to another record.
public <T> Map<Long,Set<T>> navigate(String key, String ccl, Timestamp timestamp)
Concoursekey in every record that matches
the ccl filter. Navigates through the key splited with dot(.)
operator.
Iterates only if the key has a link as value which points to another record.
navigate in class Concoursekey - the field nameccl - a well-formed criteria expressed using the Concourse Criteria
Languagetimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap associating each of the the matching records to a
Set containing all the values stored in the respective
fieldpublic boolean ping()
ConcourseCheck if the server is responsive by sending an echo request and awaiting a response. This request is designed to simply test the connection and potentially measure latency without incurring any additional overhead for data processing or availability.
If this method returns false it could mean that this client was
somehow disconnected, and establishing a new connection would allow for
subsequent communication. Or, it can mean that the server is down.
Callers are advised to attempt multiple pings across
different connections before concluding that the server is down.
public Map<Long,Boolean> ping(Collection<Long> records)
Concourserecords currently contains
any data.public boolean ping(long record)
Concourserecord currently contains any data.public <T> void reconcile(String key, long record, Collection<T> values)
Concoursekey in
record so that it contains the exact same values as the
specified collection.public <T> Map<Long,Boolean> remove(String key, T value, Collection<Long> records)
Concoursekey as value from each of the
records where it currently exists.public <T> boolean remove(String key, T value, long record)
Concoursekey as value from record if it currently
exists.public void revert(Collection<String> keys, Collection<Long> records, Timestamp timestamp)
Concoursekeys in each of the records
to their state at timestamp by creating new revisions that undo
the net changes that have occurred since timestamp.revert in class Concoursekeys - a collection of field namesrecords - a collection of record idstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectpublic void revert(Collection<String> keys, long record, Timestamp timestamp)
Concoursekeys in record to their
state at timestamp by creating new revisions that undo the net
changes that have occurred since timestamp.revert in class Concoursekeys - a collection of field namesrecord - the record idtimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectpublic void revert(String key, Collection<Long> records, Timestamp timestamp)
Concoursekey in each of the records to its state
at timestamp by creating new revisions that undo the net changes
that have occurred since timestamp.revert in class Concoursekey - the field namerecords - a collection of record idstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectpublic void revert(String key, long record, Timestamp timestamp)
Concoursekey in record to its state at
timestamp by creating new revisions that undo the net changes
that have occurred since timestamp.revert in class Concoursekey - the field namerecord - the record idtimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectpublic Map<Timestamp,List<String>> review(long record)
Concourserecord.public Map<Timestamp,List<String>> review(long record, Timestamp start)
Concourserecord since start
(inclusive).review in class Concourserecord - the record idstart - an inclusive Timestamp of the oldest change that
should possibly be included in the audit – created from either
a natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap from the Timestamp of each commit to a list
of descriptions for each change made within the commitpublic Map<Timestamp,List<String>> review(long record, Timestamp start, Timestamp end)
Concourserecord between
start (inclusive) and end (non-inclusive).review in class Concourserecord - the record idstart - an inclusive Timestamp for the oldest change that
should possibly be included in the audit – created from either
a natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectend - a non-inclusive Timestamp for the most recent change
that should possibly be included in the audit – created from
either a natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap from the Timestamp of each commit to a list
of descriptions for each change made within the commitpublic Map<Timestamp,List<String>> review(String key, long record)
Concoursekey field in
recordpublic Map<Timestamp,List<String>> review(String key, long record, Timestamp start)
Concoursekey field in
record since start (inclusive).review in class Concoursekey - the field namerecord - the record idstart - an inclusive Timestamp for the oldest change that
should possibly be included in the audit – created from either
a natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap from the Timestamp of each commit to a list
of descriptions for each change made within the commitpublic Map<Timestamp,List<String>> review(String key, long record, Timestamp start, Timestamp end)
Concoursekey field in
record between start (inclusive) and end
(non-inclusive).review in class Concoursekey - the field namerecord - the record idstart - an inclusive Timestamp for the oldest change that
should possibly be included in the audit – created from either
a natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectend - a non-inclusive Timestamp for the most recent change
that should possibly be included in the audit – created from
either a natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap from the Timestamp of each commit to a list
of descriptions for each change made within the commitpublic <T> Map<Long,Map<String,Set<T>>> select(Collection<Long> records)
Concourserecords.public <T> Map<Long,Map<String,Set<T>>> select(Collection<Long> records, Order order)
Concourserecords.select in class Concourserecords - a collection of record idsorder - an Order specification that describes how the result
set should be sortedMap associating each of the records to another
Map associating every key in that record to a Set
containing all the values stored in the respective fieldpublic <T> Map<Long,Map<String,Set<T>>> select(Collection<Long> records, Order order, Page page)
Concourserecords.select in class Concourserecords - a collection of record idsorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the records to another
Map associating every key in that record to a Set
containing all the values stored in the respective fieldpublic <T> Map<Long,Map<String,Set<T>>> select(Collection<Long> records, Page page)
Concourserecords.select in class Concourserecords - a collection of record idspage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the records to another
Map associating every key in that record to a Set
containing all the values stored in the respective fieldpublic <T> Map<Long,Map<String,Set<T>>> select(Collection<Long> records, Timestamp timestamp)
Concourserecords at
timestamp.select in class Concourserecords - a collection of record idstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap associating each of the records to another
Map associating every key in that record at
timestamp to a Set containing all the values
stored in the respective field at timestamppublic <T> Map<Long,Map<String,Set<T>>> select(Collection<Long> records, Timestamp timestamp, Order order)
Concourserecords at
timestamp.select in class Concourserecords - a collection of record idstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedMap associating each of the records to another
Map associating every key in that record at
timestamp to a Set containing all the values
stored in the respective field at timestamppublic <T> Map<Long,Map<String,Set<T>>> select(Collection<Long> records, Timestamp timestamp, Order order, Page page)
Concourserecords at
timestamp.select in class Concourserecords - a collection of record idstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the records to another
Map associating every key in that record at
timestamp to a Set containing all the values
stored in the respective field at timestamppublic <T> Map<Long,Map<String,Set<T>>> select(Collection<Long> records, Timestamp timestamp, Page page)
Concourserecords at
timestamp.select in class Concourserecords - a collection of record idstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the records to another
Map associating every key in that record at
timestamp to a Set containing all the values
stored in the respective field at timestamppublic <T> Map<Long,Map<String,Set<T>>> select(Collection<String> keys, Collection<Long> records)
Concoursekeys in each of the
records.public <T> Map<Long,Map<String,Set<T>>> select(Collection<String> keys, Collection<Long> records, Order order)
Concoursekeys in each of the
records.select in class Concoursekeys - a collection of field namesrecords - a collection of record idsorder - an Order specification that describes how the result
set should be sortedMap associating each of the records to another
Map associating each of the keys to a Set
containing all the values stored in the respective fieldpublic <T> Map<Long,Map<String,Set<T>>> select(Collection<String> keys, Collection<Long> records, Order order, Page page)
Concoursekeys in each of the
records.select in class Concoursekeys - a collection of field namesrecords - a collection of record idsorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the records to another
Map associating each of the keys to a Set
containing all the values stored in the respective fieldpublic <T> Map<Long,Map<String,Set<T>>> select(Collection<String> keys, Collection<Long> records, Page page)
Concoursekeys in each of the
records.select in class Concoursekeys - a collection of field namesrecords - a collection of record idspage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the records to another
Map associating each of the keys to a Set
containing all the values stored in the respective fieldpublic <T> Map<Long,Map<String,Set<T>>> select(Collection<String> keys, Collection<Long> records, Timestamp timestamp)
Concoursekeys in each of the
records at timestamp.select in class Concoursekeys - a collection of field namesrecords - a collection of record idstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap associating each of the records to another
Map associating each of the keys to a Set
containing all the values stored in the respective field at
timestamppublic <T> Map<Long,Map<String,Set<T>>> select(Collection<String> keys, Collection<Long> records, Timestamp timestamp, Order order)
Concoursekeys in each of the
records at timestamp.select in class Concoursekeys - a collection of field namesrecords - a collection of record idstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedMap associating each of the records to another
Map associating each of the keys to a Set
containing all the values stored in the respective field at
timestamppublic <T> Map<Long,Map<String,Set<T>>> select(Collection<String> keys, Collection<Long> records, Timestamp timestamp, Order order, Page page)
Concoursekeys in each of the
records at timestamp.select in class Concoursekeys - a collection of field namesrecords - a collection of record idstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the records to another
Map associating each of the keys to a Set
containing all the values stored in the respective field at
timestamppublic <T> Map<Long,Map<String,Set<T>>> select(Collection<String> keys, Collection<Long> records, Timestamp timestamp, Page page)
Concoursekeys in each of the
records at timestamp.select in class Concoursekeys - a collection of field namesrecords - a collection of record idstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the records to another
Map associating each of the keys to a Set
containing all the values stored in the respective field at
timestamppublic <T> Map<Long,Map<String,Set<T>>> select(Collection<String> keys, Criteria criteria)
Concoursekeys in every record
that matches the criteria.select in class Concoursekeys - a collection of field namescriteria - a Criteria that contains a well-formed filter for
the desired recordsMap associating each of the matching records to another
Map associating each of the keys in that record
to a Set containing all the values stored in the
respective fieldpublic <T> Map<Long,Map<String,Set<T>>> select(Collection<String> keys, Criteria criteria, Order order)
Concoursekeys in every record
that matches the criteria.select in class Concoursekeys - a collection of field namescriteria - a Criteria that contains a well-formed filter for
the desired recordsorder - an Order specification that describes how the result
set should be sortedMap associating each of the matching records to another
Map associating each of the keys in that record
to a Set containing all the values stored in the
respective fieldpublic <T> Map<Long,Map<String,Set<T>>> select(Collection<String> keys, Criteria criteria, Order order, Page page)
Concoursekeys in every record
that matches the criteria.select in class Concoursekeys - a collection of field namescriteria - a Criteria that contains a well-formed filter for
the desired recordsorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to another
Map associating each of the keys in that record
to a Set containing all the values stored in the
respective fieldpublic <T> Map<Long,Map<String,Set<T>>> select(Collection<String> keys, Criteria criteria, Page page)
Concoursekeys in every record
that matches the criteria.select in class Concoursekeys - a collection of field namescriteria - a Criteria that contains a well-formed filter for
the desired recordspage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to another
Map associating each of the keys in that record
to a Set containing all the values stored in the
respective fieldpublic <T> Map<Long,Map<String,Set<T>>> select(Collection<String> keys, Criteria criteria, Timestamp timestamp)
Concoursekeys at
timestamp in every record that matches the criteriaselect in class Concoursekeys - a collection of field namescriteria - a Criteria that contains a well-formed filter for
the desired recordstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap associating each of the matching records to another
Map associating each of the keys in that record
to a Set containing all the values stored in the
respective field at timestamppublic <T> Map<Long,Map<String,Set<T>>> select(Collection<String> keys, Criteria criteria, Timestamp timestamp, Order order)
Concoursekeys at
timestamp in every record that matches the criteriaselect in class Concoursekeys - a collection of field namescriteria - a Criteria that contains a well-formed filter for
the desired recordstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedMap associating each of the matching records to another
Map associating each of the keys in that record
to a Set containing all the values stored in the
respective field at timestamppublic <T> Map<Long,Map<String,Set<T>>> select(Collection<String> keys, Criteria criteria, Timestamp timestamp, Order order, Page page)
Concoursekeys at
timestamp in every record that matches the criteriaselect in class Concoursekeys - a collection of field namescriteria - a Criteria that contains a well-formed filter for
the desired recordstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to another
Map associating each of the keys in that record
to a Set containing all the values stored in the
respective field at timestamppublic <T> Map<Long,Map<String,Set<T>>> select(Collection<String> keys, Criteria criteria, Timestamp timestamp, Page page)
Concoursekeys at
timestamp in every record that matches the criteriaselect in class Concoursekeys - a collection of field namescriteria - a Criteria that contains a well-formed filter for
the desired recordstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to another
Map associating each of the keys in that record
to a Set containing all the values stored in the
respective field at timestamppublic <T> Map<String,Set<T>> select(Collection<String> keys, long record)
Concoursekeys in
record.public <T> Map<String,Set<T>> select(Collection<String> keys, long record, Timestamp timestamp)
Concoursekeys in
record at timestamp.select in class Concoursekeys - a collection of field namesrecord - the record idtimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap associating each of the keys to a
Set containing all the values stored in the respective
field at timestamppublic <T> Map<Long,Map<String,Set<T>>> select(Collection<String> keys, String ccl)
Concoursekeys in every record
that matches the ccl filter.select in class Concoursekeys - a collection of field namesccl - a well-formed criteria expressed using the Concourse Criteria
LanguageMap associating each of the matching records to another
Map associating each of the keys in that record
to a Set containing all the values stored in the
respective fieldpublic <T> Map<Long,Map<String,Set<T>>> select(Collection<String> keys, String ccl, Order order)
Concoursekeys in every record
that matches the ccl filter.select in class Concoursekeys - a collection of field namesccl - a well-formed criteria expressed using the Concourse Criteria
Languageorder - an Order specification that describes how the result
set should be sortedMap associating each of the matching records to another
Map associating each of the keys in that record
to a Set containing all the values stored in the
respective fieldpublic <T> Map<Long,Map<String,Set<T>>> select(Collection<String> keys, String ccl, Order order, Page page)
Concoursekeys in every record
that matches the ccl filter.select in class Concoursekeys - a collection of field namesccl - a well-formed criteria expressed using the Concourse Criteria
Languageorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to another
Map associating each of the keys in that record
to a Set containing all the values stored in the
respective fieldpublic <T> Map<Long,Map<String,Set<T>>> select(Collection<String> keys, String ccl, Page page)
Concoursekeys in every record
that matches the ccl filter.select in class Concoursekeys - a collection of field namesccl - a well-formed criteria expressed using the Concourse Criteria
Languagepage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to another
Map associating each of the keys in that record
to a Set containing all the values stored in the
respective fieldpublic <T> Map<Long,Map<String,Set<T>>> select(Collection<String> keys, String ccl, Timestamp timestamp)
Concoursekeys at
timestamp in every record that matches the ccl filter.select in class Concoursekeys - a collection of field namesccl - a well-formed criteria expressed using the Concourse Criteria
Languagetimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap associating each of the matching records to another
Map associating each of the keys in that record
to a Set containing all the values stored in the
respective field at timestamppublic <T> Map<Long,Map<String,Set<T>>> select(Collection<String> keys, String ccl, Timestamp timestamp, Order order)
Concoursekeys at
timestamp in every record that matches the ccl filter.select in class Concoursekeys - a collection of field namesccl - a well-formed criteria expressed using the Concourse Criteria
Languagetimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedMap associating each of the matching records to another
Map associating each of the keys in that record
to a Set containing all the values stored in the
respective field at timestamppublic <T> Map<Long,Map<String,Set<T>>> select(Collection<String> keys, String ccl, Timestamp timestamp, Order order, Page page)
Concoursecriteria.select in class Concoursekeys - a collection of field namesccl - a well-formed criteria expressed using the Concourse Criteria
Languagetimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to another
Map associating each of the keys in that record
to a Set containing all the values stored in the
respective field at timestamppublic <T> Map<Long,Map<String,Set<T>>> select(Collection<String> keys, String ccl, Timestamp timestamp, Page page)
Concoursecriteria.select in class Concoursekeys - a collection of field namesccl - a well-formed criteria expressed using the Concourse Criteria
Languagetimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to another
Map associating each of the keys in that record
to a Set containing all the values stored in the
respective field at timestamppublic <T> Map<Long,Map<String,Set<T>>> select(Criteria criteria)
Concoursecriteria.select in class Concoursecriteria - a Criteria that contains a well-formed filter for
the desired recordsMap associating each of the matching records to another
Map associating each of the keys in that record
to a Set containing all the values stored in the
respective fieldpublic <T> Map<Long,Map<String,Set<T>>> select(Criteria criteria, Order order)
Concoursecriteria.select in class Concoursecriteria - a Criteria that contains a well-formed filter for
the desired recordsorder - an Order specification that describes how the result
set should be sortedMap associating each of the matching records to another
Map associating each of the keys in that record
to a Set containing all the values stored in the
respective fieldpublic <T> Map<Long,Map<String,Set<T>>> select(Criteria criteria, Order order, Page page)
Concoursecriteria.select in class Concoursecriteria - a Criteria that contains a well-formed filter for
the desired recordsorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to another
Map associating each of the keys in that record
to a Set containing all the values stored in the
respective fieldpublic <T> Map<Long,Map<String,Set<T>>> select(Criteria criteria, Page page)
Concoursecriteria.select in class Concoursecriteria - a Criteria that contains a well-formed filter for
the desired recordspage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to another
Map associating each of the keys in that record
to a Set containing all the values stored in the
respective fieldpublic <T> Map<Long,Map<String,Set<T>>> select(Criteria criteria, Timestamp timestamp)
Concoursetimestamp from every record that matches
the criteria.select in class Concoursecriteria - a Criteria that contains a well-formed filter for
the desired recordstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap associating each of the matching records to another
Map associating each of the keys in that record
to a Set containing all the values stored in the
respective field at timestamppublic <T> Map<Long,Map<String,Set<T>>> select(Criteria criteria, Timestamp timestamp, Order order)
Concoursetimestamp from every record that matches
the criteria.select in class Concoursecriteria - a Criteria that contains a well-formed filter for
the desired recordstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedMap associating each of the matching records to another
Map associating each of the keys in that record
to a Set containing all the values stored in the
respective field at timestamppublic <T> Map<Long,Map<String,Set<T>>> select(Criteria criteria, Timestamp timestamp, Order order, Page page)
Concoursetimestamp from every record that matches
the criteria.select in class Concoursecriteria - a Criteria that contains a well-formed filter for
the desired recordstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to another
Map associating each of the keys in that record
to a Set containing all the values stored in the
respective field at timestamppublic <T> Map<Long,Map<String,Set<T>>> select(Criteria criteria, Timestamp timestamp, Page page)
Concoursetimestamp from every record that matches
the criteria.select in class Concoursecriteria - a Criteria that contains a well-formed filter for
the desired recordstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to another
Map associating each of the keys in that record
to a Set containing all the values stored in the
respective field at timestamppublic <T> Map<String,Set<T>> select(long record)
Concourserecord.public <T> Map<String,Set<T>> select(long record, Timestamp timestamp)
Concourserecord at timestamp.select in class Concourserecord - the record idtimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap associating each key in record to a
Set containing all the values stored in the respective
field at timestamppublic <T> Map<Long,Map<String,Set<T>>> select(String ccl)
Concourseccl filter.select in class Concourseccl - a well-formed criteria expressed using the Concourse Criteria
LanguageMap associating each of the matching records to another
Map associating each of the keys in that record
to a Set containing all the values stored in the
respective fieldpublic <T> Map<Long,Set<T>> select(String key, Collection<Long> records)
Concoursekey in each of the records.public <T> Map<Long,Set<T>> select(String key, Collection<Long> records, Order order)
Concoursekey in each of the records.select in class Concoursekey - the field namerecords - a collection of record idsorder - an Order specification that describes how the result
set should be sortedMap associating each of the records to a
Set containing all the values stored in the respective
fieldpublic <T> Map<Long,Set<T>> select(String key, Collection<Long> records, Order order, Page page)
Concoursekey in each of the records.select in class Concoursekey - the field namerecords - a collection of record idsorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the records to a
Set containing all the values stored in the respective
fieldpublic <T> Map<Long,Set<T>> select(String key, Collection<Long> records, Page page)
Concoursekey in each of the records.select in class Concoursekey - the field namerecords - a collection of record idspage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the records to a
Set containing all the values stored in the respective
fieldpublic <T> Map<Long,Set<T>> select(String key, Collection<Long> records, Timestamp timestamp)
Concoursekey in each of the records
at timestamp.select in class Concoursekey - the field namerecords - a collection of record idstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap associating each of the records to a
Set containing all the values stored in the respective
field at timestamppublic <T> Map<Long,Set<T>> select(String key, Collection<Long> records, Timestamp timestamp, Order order)
Concoursekey in each of the records
at timestamp.select in class Concoursekey - the field namerecords - a collection of record idstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedMap associating each of the records to a
Set containing all the values stored in the respective
field at timestamppublic <T> Map<Long,Set<T>> select(String key, Collection<Long> records, Timestamp timestamp, Order order, Page page)
Concoursekey in each of the records
at timestamp.select in class Concoursekey - the field namerecords - a collection of record idstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the records to a
Set containing all the values stored in the respective
field at timestamppublic <T> Map<Long,Set<T>> select(String key, Collection<Long> records, Timestamp timestamp, Page page)
Concoursekey in each of the records
at timestamp.select in class Concoursekey - the field namerecords - a collection of record idstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the records to a
Set containing all the values stored in the respective
field at timestamppublic <T> Map<Long,Set<T>> select(String key, Criteria criteria)
Concoursekey in every record that matches
the criteria.public <T> Map<Long,Set<T>> select(String key, Criteria criteria, Order order)
Concoursekey in every record that matches
the criteria.select in class Concoursekey - the field namecriteria - a Criteria that contains a well-formed filter for
the desired recordsorder - an Order specification that describes how the result
set should be sortedMap associating each of the matching records to a
Set containing all the values stored in the respective
fieldpublic <T> Map<Long,Set<T>> select(String key, Criteria criteria, Order order, Page page)
Concoursekey in every record that matches
the criteria.select in class Concoursekey - the field namecriteria - a Criteria that contains a well-formed filter for
the desired recordsorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to a
Set containing all the values stored in the respective
fieldpublic <T> Map<Long,Set<T>> select(String key, Criteria criteria, Page page)
Concoursekey in every record that matches
the criteria.select in class Concoursekey - the field namecriteria - a Criteria that contains a well-formed filter for
the desired recordspage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to a
Set containing all the values stored in the respective
fieldpublic <T> Map<Long,Set<T>> select(String key, Criteria criteria, Timestamp timestamp)
Concoursekey at timestamp in
every record that matches the criteria.select in class Concoursekey - the field namecriteria - a Criteria that contains a well-formed filter for
the desired recordstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap associating each of the matching records to a
Set containing all the values stored in the respective
field at timestamppublic <T> Map<Long,Set<T>> select(String key, Criteria criteria, Timestamp timestamp, Order order)
Concoursekey at timestamp in
every record that matches the criteria.select in class Concoursekey - the field namecriteria - a Criteria that contains a well-formed filter for
the desired recordstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedMap associating each of the matching records to a
Set containing all the values stored in the respective
field at timestamppublic <T> Map<Long,Set<T>> select(String key, Criteria criteria, Timestamp timestamp, Order order, Page page)
Concoursekey at timestamp in
every record that matches the criteria.select in class Concoursekey - the field namecriteria - a Criteria that contains a well-formed filter for
the desired recordstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to a
Set containing all the values stored in the respective
field at timestamppublic <T> Map<Long,Set<T>> select(String key, Criteria criteria, Timestamp timestamp, Page page)
Concoursekey at timestamp in
every record that matches the criteria.select in class Concoursekey - the field namecriteria - a Criteria that contains a well-formed filter for
the desired recordstimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to a
Set containing all the values stored in the respective
field at timestamppublic <T> Set<T> select(String key, long record)
Concoursekey in record.public <T> Set<T> select(String key, long record, Timestamp timestamp)
Concoursekey in record at
timestamp.select in class Concoursekey - the field namerecord - the record idtimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectSet containing all the values stored in the field at
timestamppublic <T> Map<Long,Map<String,Set<T>>> select(String ccl, Order order)
Concourseccl filter.select in class Concourseccl - a well-formed criteria expressed using the Concourse Criteria
Languageorder - an Order specification that describes how the result
set should be sortedMap associating each of the matching records to another
Map associating each of the keys in that record
to a Set containing all the values stored in the
respective fieldpublic <T> Map<Long,Map<String,Set<T>>> select(String ccl, Order order, Page page)
Concourseccl filter.select in class Concourseccl - a well-formed criteria expressed using the Concourse Criteria
Languageorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to another
Map associating each of the keys in that record
to a Set containing all the values stored in the
respective fieldpublic <T> Map<Long,Map<String,Set<T>>> select(String ccl, Page page)
Concourseccl filter.select in class Concourseccl - a well-formed criteria expressed using the Concourse Criteria
Languagepage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to another
Map associating each of the keys in that record
to a Set containing all the values stored in the
respective fieldpublic <T> Map<Long,Set<T>> select(String key, String ccl)
Concoursekey in every record that matches
the ccl filter.public <T> Map<Long,Set<T>> select(String key, String ccl, Order order)
Concoursekey in every record that matches
the ccl filter.select in class Concoursekey - the field nameccl - a well-formed criteria expressed using the Concourse Criteria
Languageorder - an Order specification that describes how the result
set should be sortedMap associating each of the the matching records to a
Set containing all the values stored in the respective
fieldpublic <T> Map<Long,Set<T>> select(String key, String ccl, Order order, Page page)
Concoursekey in every record that matches
the ccl filter.select in class Concoursekey - the field nameccl - a well-formed criteria expressed using the Concourse Criteria
Languageorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the the matching records to a
Set containing all the values stored in the respective
fieldpublic <T> Map<Long,Set<T>> select(String key, String ccl, Page page)
Concoursekey in every record that matches
the ccl filter.select in class Concoursekey - the field nameccl - a well-formed criteria expressed using the Concourse Criteria
Languagepage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the the matching records to a
Set containing all the values stored in the respective
fieldpublic <T> Map<Long,Set<T>> select(String key, String ccl, Timestamp timestamp)
Concoursekey at timestamp in
every record that matches the ccl filter.select in class Concoursekey - the field nameccl - a well-formed criteria expressed using the Concourse Criteria
Languagetimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap associating each of the matching records to a
Set containing all the values stored in the respective
field at timestamppublic <T> Map<Long,Set<T>> select(String key, String ccl, Timestamp timestamp, Order order)
Concoursekey at timestamp in
every record that matches the ccl filter.select in class Concoursekey - the field nameccl - a well-formed criteria expressed using the Concourse Criteria
Languagetimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedMap associating each of the matching records to a
Set containing all the values stored in the respective
field at timestamppublic <T> Map<Long,Set<T>> select(String key, String ccl, Timestamp timestamp, Order order, Page page)
Concoursekey at timestamp in
every record that matches the ccl filter.select in class Concoursekey - the field nameccl - a well-formed criteria expressed using the Concourse Criteria
Languagetimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to a
Set containing all the values stored in the respective
field at timestamppublic <T> Map<Long,Set<T>> select(String key, String ccl, Timestamp timestamp, Page page)
Concoursekey at timestamp in
every record that matches the ccl filter.select in class Concoursekey - the field nameccl - a well-formed criteria expressed using the Concourse Criteria
Languagetimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to a
Set containing all the values stored in the respective
field at timestamppublic <T> Map<Long,Map<String,Set<T>>> select(String ccl, Timestamp timestamp)
Concoursetimestamp from every record that matches
the ccl filter.select in class Concourseccl - a well-formed criteria expressed using the Concourse Criteria
Languagetimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectMap associating each of the matching records to another
Map associating each of the keys in that record
to a Set containing all the values stored in the
respective field at timestamppublic <T> Map<Long,Map<String,Set<T>>> select(String ccl, Timestamp timestamp, Order order)
Concoursetimestamp from every record that matches
the ccl filter.select in class Concourseccl - a well-formed criteria expressed using the Concourse Criteria
Languagetimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedMap associating each of the matching records to another
Map associating each of the keys in that record
to a Set containing all the values stored in the
respective field at timestamppublic <T> Map<Long,Map<String,Set<T>>> select(String ccl, Timestamp timestamp, Order order, Page page)
Concoursetimestamp from every record that matches
the ccl filter.select in class Concourseccl - a well-formed criteria expressed using the Concourse Criteria
Languagetimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectorder - an Order specification that describes how the result
set should be sortedpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to another
Map associating each of the keys in that record
to a Set containing all the values stored in the
respective field at timestamppublic <T> Map<Long,Map<String,Set<T>>> select(String ccl, Timestamp timestamp, Page page)
Concoursetimestamp from every record that matches
the ccl filter.select in class Concourseccl - a well-formed criteria expressed using the Concourse Criteria
Languagetimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objectpage - a {@link Page) specification that describes the page of the
result set to returnMap associating each of the matching records to another
Map associating each of the keys in that record
to a Set containing all the values stored in the
respective field at timestamppublic void set(String key, Object value, Collection<Long> records)
Concourserecords, atomically remove all the values stored
for key and then add key as value in the
respective record.public <T> void set(String key, T value, long record)
Concoursekey in record
and add then key as value.public void stage()
throws TransactionException
ConcourseThis method will turn on STAGING mode so that all subsequent changes are collected in an isolated buffer before possibly being committed to the database. Staged operations are guaranteed to be reliable, all or nothing units of work that allow correct recovery from failures and provide isolation between clients so the database is always in a consistent state.
After this method returns, all subsequent operations will be done in
staging mode until either Concourse.abort() or Concourse.commit()
is invoked.
All operations that occur within a transaction should be wrapped in a try-catch block so that transaction exceptions can be caught and the transaction can be properly aborted.
concourse.stage();
try {
concourse.get("foo", 1);
concourse.add("foo", "bar", 1);
concourse.commit();
}
catch (TransactionException e) {
concourse.abort();
}
stage in class ConcourseTransactionExceptionpublic Timestamp time()
ConcourseTimestamp that represents the current instant according
to the server.public Timestamp time(String phrase)
ConcourseTimestamp, according to the server, that corresponds
to the instant described by the phrase.public Map<Long,Map<String,Set<Long>>> trace(Collection<Long> records)
Concourselinks to each of the
records.
The data is returned as a mapping each of the records
to another mapping from a key to all the records where that
key was stored as a Link.to(long) the record at
timestamp.
public Map<Long,Map<String,Set<Long>>> trace(Collection<Long> records, Timestamp timestamp)
Concourselinks to each of the
records.
The data is returned as a mapping each of the records
to another mapping from a key to all the records where that
key was stored as a Link.to(long) the record at
timestamp.
public Map<String,Set<Long>> trace(long record)
Concourselinks to record.
The data is returned as a mapping from a key to all the
records where that key is stored as a Link.to(long) the
record.
public Map<String,Set<Long>> trace(long record, Timestamp timestamp)
Concourselinks to record
at timestamp.
The data is returned as a mapping from a key to all the
records where that key was stored as a Link.to(long) the
record at timestamp.
public boolean unlink(String key, long destination, long source)
Concoursekey in source to
destination.public boolean verify(String key, Object value, long record)
Concoursetrue if value is stored for key in
record.public boolean verify(String key, Object value, long record, Timestamp timestamp)
Concoursetrue if value was stored for key in
record at timestamp.verify in class Concoursekey - the field namevalue - the value to checkrecord - the record idtimestamp - a Timestamp that represents the historical
instant to use in the lookup – created from either a
natural language
description of a point in time (i.e. two weeks ago), OR the
number of microseconds
since the Unix epoch, OR a
Joda
DateTime objecttrue if value is stored in the field, otherwise
falsepublic boolean verifyAndSwap(String key, Object expected, long record, Object replacement)
Concourseexpected with replacement for
key in record if and only if expected is
currently stored in the field.verifyAndSwap in class Concoursekey - the field nameexpected - the value expected to currently exist in the fieldrecord - the record idreplacement - the value with which to replace expected if
and only if it currently exists in the fieldtrue if the swap is successfulpublic void verifyOrSet(String key, Object value, long record)
Concoursekey equals expected in
record or set it as such.
Please note that after returning, this method guarantees that key
in record will only contain value, even if value
already existed alongside other values [e.g. calling verifyOrSet("foo",
"bar", 1) will mean that "foo" in 1 only has "bar" as a value after
returning, even if "foo" in 1 already had "bar", "baz", and "apple" as
values].
So, basically, this function has the same guarantee as the
Concourse.set(String, Object, long) method, except it will not create any
new revisions unless it is necessary to do so. The set
method, on the other hand, would indiscriminately clear all the values
for key in record before adding value, even if
value already existed.
If you want to add a new value only if it does not exist while also
preserving other values, you should use the
Concourse.add(String, Object, long) method instead.
verifyOrSet in class Concoursekey - the field namevalue - the value to checkrecord - the record idprotected Concourse copyConnection()
ConcourseConcourse connection that is connected to the same
deployment with the same credentials as this connection.copyConnection in class Concourse