-
- All Implemented Interfaces:
public class EventProperties.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final StringISP_INFOprivate final StringGEO_INFOprivate final StringIP_ADDRESS_HASHprivate final StringALCHEMY_CONCEPTSprivate final StringALCHEMY_ENTITIESprivate final StringALCHEMY_KEYWORDSprivate final StringALCHEMY_TAXONOMYprivate final StringALCHEMY_DOCUMENT_EMOTIONprivate final StringALCHEMY_DOCUMENT_SENTIMENTprivate final StringALCHEMY_TAXONOMY_LABELSprivate final StringALCHEMY_ENTITY_NAMESpublic final static EventProperties.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final EventPropertiesfrom(Pair<String, Object> pair)Create an EventProperties object with a single property. final EventPropertiesfrom(Pair<String, Object> pairs)Create an EventProperties object with a many properties. final StringgetISP_INFO()Use this constant to enrich the event with isp info. final StringgetGEO_INFO()Use this constant to enrich the event with geographic info. final StringgetIP_ADDRESS_HASH()Use this constant to enrich the event with the hashed client IP address. final StringgetALCHEMY_CONCEPTS()Use this constant to enrich the event with the alchemy concepts of the current url. final StringgetALCHEMY_ENTITIES()Use this constant to enrich the event with the alchemy entities of the current url. final StringgetALCHEMY_KEYWORDS()Use this constant to enrich the event with the alchemy keywords of the current url. final StringgetALCHEMY_TAXONOMY()Use this constant to enrich the event with the alchemy taxonomy of the current url. final StringgetALCHEMY_DOCUMENT_EMOTION()Use this constant to enrich the event with the alchemy document emotion of the current url. final StringgetALCHEMY_DOCUMENT_SENTIMENT()Use this constant to enrich the event with the alchemy document sentiment of the current url. final StringgetALCHEMY_TAXONOMY_LABELS()Use this constant to enrich the event with the alchemy taxonomy labels of the current url. final StringgetALCHEMY_ENTITY_NAMES()Use this constant to enrich the event with the alchemy entity names of the current url. -
-
Method Detail
-
from
@CheckResult() final EventProperties from(Pair<String, Object> pair)
Create an EventProperties object with a single property.
- Parameters:
pair- Pair describing the event property.
-
from
@CheckResult() final EventProperties from(Pair<String, Object> pairs)
Create an EventProperties object with a many properties.
- Parameters:
pairs- Pairs describing the event properties.
-
getISP_INFO
final String getISP_INFO()
Use this constant to enrich the event with isp info.
-
getGEO_INFO
final String getGEO_INFO()
Use this constant to enrich the event with geographic info.
-
getIP_ADDRESS_HASH
final String getIP_ADDRESS_HASH()
Use this constant to enrich the event with the hashed client IP address.
-
getALCHEMY_CONCEPTS
final String getALCHEMY_CONCEPTS()
Use this constant to enrich the event with the alchemy concepts of the current url.
-
getALCHEMY_ENTITIES
final String getALCHEMY_ENTITIES()
Use this constant to enrich the event with the alchemy entities of the current url.
-
getALCHEMY_KEYWORDS
final String getALCHEMY_KEYWORDS()
Use this constant to enrich the event with the alchemy keywords of the current url.
-
getALCHEMY_TAXONOMY
final String getALCHEMY_TAXONOMY()
Use this constant to enrich the event with the alchemy taxonomy of the current url.
-
getALCHEMY_DOCUMENT_EMOTION
final String getALCHEMY_DOCUMENT_EMOTION()
Use this constant to enrich the event with the alchemy document emotion of the current url.
-
getALCHEMY_DOCUMENT_SENTIMENT
final String getALCHEMY_DOCUMENT_SENTIMENT()
Use this constant to enrich the event with the alchemy document sentiment of the current url.
-
getALCHEMY_TAXONOMY_LABELS
final String getALCHEMY_TAXONOMY_LABELS()
Use this constant to enrich the event with the alchemy taxonomy labels of the current url.
-
getALCHEMY_ENTITY_NAMES
final String getALCHEMY_ENTITY_NAMES()
Use this constant to enrich the event with the alchemy entity names of the current url.
-
-
-
-