A C D E F G I K L M N O P S T U W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- add(String, String, String) - Method in interface com.salesforce.cantor.Sets
-
Add an entry with weight of 0 to the set in the given namespace.
- add(String, String, String, long) - Method in interface com.salesforce.cantor.Sets
-
Add an entry with a weight to the set in the given namespace.
- add(String, String, Map<String, Long>) - Method in interface com.salesforce.cantor.Sets
-
Add batch of entries/weights to the set in the given namespace.
C
- Cantor - Interface in com.salesforce.cantor
-
Facade for accessing underlying abstractions.
- com.salesforce.cantor - package com.salesforce.cantor
- create(String) - Method in interface com.salesforce.cantor.Namespaceable
-
Create a new namespace.
D
- delete(String, String) - Method in interface com.salesforce.cantor.Objects
-
Delete the object; return true if object was found and removed successfully, false otherwise.
- delete(String, String) - Method in interface com.salesforce.cantor.Sets
-
Deletes all entries in the set in the given namespace.
- delete(String, String, long, long) - Method in interface com.salesforce.cantor.Sets
-
Deletes all entries in the set with weights between the given min and max, in the given namespace.
- delete(String, String, String) - Method in interface com.salesforce.cantor.Sets
-
Deletes an entry from the set in the given namespace.
- delete(String, String, Collection<String>) - Method in interface com.salesforce.cantor.Sets
-
Delete batch of objects from set in the given namespace; no-op if an entry is not found.
- delete(String, Collection<String>) - Method in interface com.salesforce.cantor.Objects
-
Delete batch of objects.
- dimension(String, String, long, long, Map<String, String>, Map<String, String>) - Method in interface com.salesforce.cantor.Events
-
Get a list of events values where each event only contains the specified dimension, for events in the given namespace, with timestamp between the start and end, metadata and dimensions matching the given queries.
- drop(String) - Method in interface com.salesforce.cantor.Namespaceable
-
Drop a namespace.
E
- entries(String, String) - Method in interface com.salesforce.cantor.Sets
-
Return object entries and weights stored in the set with start and count and weight more than min, less than max
- entries(String, String, int, int) - Method in interface com.salesforce.cantor.Sets
-
Return object entries and weights stored in the set with start and count and weight more than min, less than max
- entries(String, String, int, int, boolean) - Method in interface com.salesforce.cantor.Sets
-
Return object entries and weights stored in the set with start and count and weight more than min, less than max
- entries(String, String, long, long, int, int, boolean) - Method in interface com.salesforce.cantor.Sets
-
Return entries stored in the set with start and count and weight more than min, less than max.
- equals(Object) - Method in class com.salesforce.cantor.Events.Event
- Event(long, Map<String, String>, Map<String, Double>) - Constructor for class com.salesforce.cantor.Events.Event
- Event(long, Map<String, String>, Map<String, Double>, byte[]) - Constructor for class com.salesforce.cantor.Events.Event
- events() - Method in interface com.salesforce.cantor.Cantor
-
Returns an instance of Events.
- Events - Interface in com.salesforce.cantor
-
Events are multi-dimensional time series data.
- Events.Event - Class in com.salesforce.cantor
-
An event consists of a timestamp in milli-seconds, a map of string to string as metadata, and a map of string to double value as dimensions.
- expire(String, long) - Method in interface com.salesforce.cantor.Events
-
Expire all events with timestamp before the given end timestamp.
F
- first(String, String) - Method in interface com.salesforce.cantor.Sets
-
Get the first entry in the set ordered ascending by weight.
G
- get(String, long, long) - Method in interface com.salesforce.cantor.Events
-
Get all events in the given namespace, with timestamp between the start and end.
- get(String, long, long, boolean) - Method in interface com.salesforce.cantor.Events
-
Get all events in the given namespace, with timestamp between the start and end.
- get(String, long, long, Map<String, String>, Map<String, String>) - Method in interface com.salesforce.cantor.Events
-
Get all events in the given namespace, with timestamp between the start and end, and metadata and dimensions matching the given queries.
- get(String, long, long, Map<String, String>, Map<String, String>, boolean) - Method in interface com.salesforce.cantor.Events
-
Get all events in the given namespace, with timestamp between the start and end, and metadata and dimensions matching the given queries.
- get(String, long, long, Map<String, String>, Map<String, String>, boolean, boolean, int) - Method in interface com.salesforce.cantor.Events
-
Get all events in the given namespace, with timestamp between the start and end, and metadata and dimensions matching the given queries.
- get(String, String) - Method in interface com.salesforce.cantor.Objects
-
Returns bytes associated to the given key.
- get(String, String) - Method in interface com.salesforce.cantor.Sets
-
Return all entries stored in the set, ordered by weight ascending
- get(String, String, int, int) - Method in interface com.salesforce.cantor.Sets
-
Return entries stored in the set with start and count, ordered by weight ascending
- get(String, String, long, long, int, int, boolean) - Method in interface com.salesforce.cantor.Sets
-
Return entries and weights stored in the set with start and count and weight more than min, less than max.
- get(String, Collection<String>) - Method in interface com.salesforce.cantor.Objects
-
Returns batch of key/values for the list of entries.
- getDimensions() - Method in class com.salesforce.cantor.Events.Event
-
Get the dimensions for this event (note that events are multi-dimensional).
- getMetadata() - Method in class com.salesforce.cantor.Events.Event
-
Get the metadata for this event.
- getPayload() - Method in class com.salesforce.cantor.Events.Event
-
Get the payload attached to this event.
- getTimestampMillis() - Method in class com.salesforce.cantor.Events.Event
-
Get the UTC timestamp for this event.
I
- inc(String, String, String, long) - Method in interface com.salesforce.cantor.Sets
-
Atomic operation to increment an entry's weight in the set by the given count and then return the final value.
- intersect(String, Collection<String>) - Method in interface com.salesforce.cantor.Sets
-
Return intersect of all entries stored in the given sets, ordered by weight ascending
- intersect(String, Collection<String>, int, int) - Method in interface com.salesforce.cantor.Sets
-
Return entries stored in the set with start and count, ordered by weight ascending
- intersect(String, Collection<String>, long, long, int, int, boolean) - Method in interface com.salesforce.cantor.Sets
-
Return intersection of entries and weights stored in all of the given sets, with start and count and weight more than min, less than max.
K
- keys(String, int, int) - Method in interface com.salesforce.cantor.Objects
-
Returns paginated list of entries; the returned list is not ordered.
- keys(String, String, int, int) - Method in interface com.salesforce.cantor.Objects
-
Returns paginated list of entries; the returned list is not ordered.
L
- last(String, String) - Method in interface com.salesforce.cantor.Sets
-
Get the last entry in the set ordered ascending by weight.
M
- metadata(String, String, long, long, Map<String, String>, Map<String, String>) - Method in interface com.salesforce.cantor.Events
-
Get distinct metadata values for the given metadata key for events in the given namespace, with timestamp between the start and end, metadata and dimensions matching the given queries.
N
- Namespaceable - Interface in com.salesforce.cantor
O
- objects() - Method in interface com.salesforce.cantor.Cantor
-
Returns an instance of Objects.
- Objects - Interface in com.salesforce.cantor
-
Objects expose functionalities to work with key/value pairs.
P
- pop(String, String) - Method in interface com.salesforce.cantor.Sets
-
Return and atomically remove all entries in the set
- pop(String, String, int, int) - Method in interface com.salesforce.cantor.Sets
-
Return and atomically remove all entries in the set with start and count
- pop(String, String, long, long, int, int, boolean) - Method in interface com.salesforce.cantor.Sets
-
Return and atomically remove entries and weights stored in the set with start and count and weight more than min, less than max.
S
- sets() - Method in interface com.salesforce.cantor.Cantor
-
Returns an instance of Sets.
- sets(String) - Method in interface com.salesforce.cantor.Sets
-
Returns list of all sets in the given namespace.
- Sets - Interface in com.salesforce.cantor
-
Sets expose functionalities to work with sorted sets of strings.
- size(String) - Method in interface com.salesforce.cantor.Objects
-
Returns number of key/value pairs in the given namespace.
- size(String, String) - Method in interface com.salesforce.cantor.Sets
-
Get the number of entries in the set.
- store(String, long, Map<String, String>, Map<String, Double>) - Method in interface com.salesforce.cantor.Events
-
Store an event in the given namespace, with timestamp and optionally metadata and dimensions.
- store(String, long, Map<String, String>, Map<String, Double>, byte[]) - Method in interface com.salesforce.cantor.Events
-
Store an event in the given namespace, with timestamp and optionally metadata and dimensions, along with an arbitrary byte array as payload.
- store(String, Events.Event) - Method in interface com.salesforce.cantor.Events
-
Store an event object.
- store(String, String, byte[]) - Method in interface com.salesforce.cantor.Objects
-
Stores bytes for the given key.
- store(String, Collection<Events.Event>) - Method in interface com.salesforce.cantor.Events
-
Store batch of events in the given namespace.
- store(String, Map<String, byte[]>) - Method in interface com.salesforce.cantor.Objects
-
Stores batch of key/value pairs.
T
- toString() - Method in class com.salesforce.cantor.Events.Event
U
- union(String, Collection<String>) - Method in interface com.salesforce.cantor.Sets
-
Return union of all entries stored in the given sets, ordered by weight ascending
- union(String, Collection<String>, int, int) - Method in interface com.salesforce.cantor.Sets
-
Return entries stored in the set with start and count, ordered by weight ascending
- union(String, Collection<String>, long, long, int, int, boolean) - Method in interface com.salesforce.cantor.Sets
-
Return union of entries and weights stored in any of the given sets, with start and count and weight more than min, less than max.
W
- weight(String, String, String) - Method in interface com.salesforce.cantor.Sets
-
Returns an entry's weight in the set.
All Classes All Packages