Package com.salesforce.cantor
Class Events.Event
- java.lang.Object
-
- com.salesforce.cantor.Events.Event
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Map<String,Double>getDimensions()Get the dimensions for this event (note that events are multi-dimensional).Map<String,String>getMetadata()Get the metadata for this event.byte[]getPayload()Get the payload attached to this event.longgetTimestampMillis()Get the UTC timestamp for this event.StringtoString()
-
-
-
Method Detail
-
getTimestampMillis
public long getTimestampMillis()
Get the UTC timestamp for this event.- Returns:
- timestamp of the event in milli-seconds
-
getMetadata
public Map<String,String> getMetadata()
Get the metadata for this event.- Returns:
- map of string to string, representing all metadata for this event
-
getDimensions
public Map<String,Double> getDimensions()
Get the dimensions for this event (note that events are multi-dimensional).- Returns:
- map of string to double, representing all dimensions for this event
-
getPayload
public byte[] getPayload()
Get the payload attached to this event.- Returns:
- byte array representing payload for this event
-
-