Class TriggerDictionaryInfo
- java.lang.Object
-
- com.attivio.sdk.client.trigger.TriggerDictionaryName
-
- com.attivio.sdk.client.trigger.TriggerDictionaryInfo
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable
public class TriggerDictionaryInfo extends TriggerDictionaryName
Defines a dictionary oftriggers.This dictionary can then be used for performing entity extraction based on complex queries.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDEFAULT_ENTITY_NAME_FIELDDefault name for output field that contains the entities for matching triggers.static booleanDEFAULT_ENTITY_NAME_SCOPESDefault forisEntityNameScopes()static java.lang.StringDEFAULT_ENTITY_SCORE_FIELDDefault name for dynamic field that contains per-entity scores.static java.lang.StringDEFAULT_TRIGGER_NAME_FIELDDefault name for output field that contains the names of matching triggers.static booleanDEFAULT_TRIGGER_NAME_SCOPESDefault forisTriggerNameScopes()static java.lang.StringDEFAULT_TRIGGER_SCORE_FIELDDefault name for trigger score output field.static java.lang.StringDEFAULT_TRIGGER_VERSION_FIELDDefault name for the output field that contains the trigger dictionary's version number.java.util.DatelastCompiledjava.util.DatelastModifiedjava.util.DatelastPublished-
Fields inherited from class com.attivio.sdk.client.trigger.TriggerDictionaryName
name, namespace
-
-
Constructor Summary
Constructors Constructor Description TriggerDictionaryInfo()TriggerDictionaryInfo(java.lang.String name)TriggerDictionaryInfo(java.lang.String namespace, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TriggerDictionaryInfoclone()booleanequals(java.lang.Object other)java.lang.StringgetDescription()Get an optional description for this trigger dictionary.java.lang.StringgetEntityNameField()Get the name of the output field for storing the entity names for matching triggers.java.lang.StringgetEntityScoreField()Get the name of the output field for storing the per-entity scores for matching triggers.java.util.DategetLastCompiled()Get the time this dictionary was last compiled, ornullif unknown.java.util.DategetLastModified()Get the time this dictionary was last modified, ornullif unknown.java.util.DategetLastPublished()Get the time this dictionary was last published, ornullif unknown.java.lang.StringgetSchemaName()Get the name of the schema to use for processing queries and documents.java.lang.StringgetSynonymDictionary()Get the name of the synonym dictionary to use for synonym expansion.java.lang.StringgetTriggerNameField()Get the name of the output field for storing the names of matching triggers.java.lang.StringgetTriggerPayloadField()Get the name of the output field that will contain payloads for matching triggers.java.lang.StringgetTriggerScoreField()Get the name of the output field for storing aggregate score for all matching triggers.java.lang.StringgetTriggerVersionField()Get the name of the output field that will contain a version identifer for the dictionary used to apply triggers.inthashCode()booleanisCompiled()Get if all outstanding changes to this dictionary have been compiled.booleanisEntityNameScopes()Iftruescopes will be added for entity names for matching triggers.booleanisPublished()Get if all outstanding changes to this dictionary have been published.booleanisTriggerNameScopes()Iftruescopes will be added for trigger names for matching triggers.voidsetCompiled(boolean value)Set if all outstanding changes to this dictionary have been compiled.voidsetDescription(java.lang.String value)Set an optional description for this trigger dictionary.voidsetEntityNameField(java.lang.String value)Set the name of the output field for storing the entity names for matching triggers.voidsetEntityNameScopes(boolean value)Iftruescopes will be added for entity names for matching triggers.voidsetEntityScoreField(java.lang.String value)Set the name of the output field for storing the per-entity scores for matching triggers.voidsetLastCompiled(java.util.Date value)Set the time this dictionary was last compiled, ornullif unknown.voidsetLastModified(java.util.Date value)Set the time this dictionary was last modified, ornullif unknown.voidsetLastPublished(java.util.Date value)Set the time this dictionary was last published, ornullif unknown.voidsetPublished(boolean value)Set if all outstanding changes to this dictionary have been published.voidsetSchemaName(java.lang.String value)Set the name of the schema to use for processing queries and documents.voidsetSynonymDictionary(java.lang.String value)Set the name of the synonym dictionary to use for synonym expansion.voidsetTriggerNameField(java.lang.String value)Set the name of the output field for storing the names of matching triggers.voidsetTriggerNameScopes(boolean value)Iftruescopes will be added for trigger names for matching triggers.voidsetTriggerPayloadField(java.lang.String value)Set the name of the output field that will contain payloads for matching triggers.voidsetTriggerScoreField(java.lang.String value)Set the name of the output field for storing aggregate score for all matching triggers.voidsetTriggerVersionField(java.lang.String value)Set the name of the output field that will contain a version identifer for the dictionary used to apply triggers.java.lang.StringtoString()-
Methods inherited from class com.attivio.sdk.client.trigger.TriggerDictionaryName
getName, getNamespace, setName, setNamespace, toString, valueOf
-
-
-
-
Field Detail
-
DEFAULT_TRIGGER_NAME_FIELD
public static final java.lang.String DEFAULT_TRIGGER_NAME_FIELD
Default name for output field that contains the names of matching triggers.- See Also:
- Constant Field Values
-
DEFAULT_TRIGGER_SCORE_FIELD
public static final java.lang.String DEFAULT_TRIGGER_SCORE_FIELD
Default name for trigger score output field.- See Also:
- Constant Field Values
-
DEFAULT_ENTITY_NAME_FIELD
public static final java.lang.String DEFAULT_ENTITY_NAME_FIELD
Default name for output field that contains the entities for matching triggers.- See Also:
- Constant Field Values
-
DEFAULT_TRIGGER_VERSION_FIELD
public static final java.lang.String DEFAULT_TRIGGER_VERSION_FIELD
Default name for the output field that contains the trigger dictionary's version number.- See Also:
- Constant Field Values
-
DEFAULT_ENTITY_SCORE_FIELD
public static final java.lang.String DEFAULT_ENTITY_SCORE_FIELD
Default name for dynamic field that contains per-entity scores.- See Also:
- Constant Field Values
-
DEFAULT_TRIGGER_NAME_SCOPES
public static final boolean DEFAULT_TRIGGER_NAME_SCOPES
Default forisTriggerNameScopes()- See Also:
- Constant Field Values
-
DEFAULT_ENTITY_NAME_SCOPES
public static final boolean DEFAULT_ENTITY_NAME_SCOPES
Default forisEntityNameScopes()- See Also:
- Constant Field Values
-
lastModified
public java.util.Date lastModified
-
lastCompiled
public java.util.Date lastCompiled
-
lastPublished
public java.util.Date lastPublished
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
Get an optional description for this trigger dictionary.
-
setDescription
public void setDescription(java.lang.String value)
Set an optional description for this trigger dictionary.
-
getSchemaName
public java.lang.String getSchemaName()
Get the name of the schema to use for processing queries and documents.
-
setSchemaName
public void setSchemaName(java.lang.String value)
Set the name of the schema to use for processing queries and documents.
-
getSynonymDictionary
public java.lang.String getSynonymDictionary()
Get the name of the synonym dictionary to use for synonym expansion.
-
setSynonymDictionary
public void setSynonymDictionary(java.lang.String value)
Set the name of the synonym dictionary to use for synonym expansion.
-
getLastModified
public java.util.Date getLastModified()
Get the time this dictionary was last modified, ornullif unknown.
-
setLastModified
public void setLastModified(java.util.Date value)
Set the time this dictionary was last modified, ornullif unknown.
-
getLastCompiled
public java.util.Date getLastCompiled()
Get the time this dictionary was last compiled, ornullif unknown.
-
setLastCompiled
public void setLastCompiled(java.util.Date value)
Set the time this dictionary was last compiled, ornullif unknown.
-
getLastPublished
public java.util.Date getLastPublished()
Get the time this dictionary was last published, ornullif unknown.
-
setLastPublished
public void setLastPublished(java.util.Date value)
Set the time this dictionary was last published, ornullif unknown.
-
isCompiled
public boolean isCompiled()
Get if all outstanding changes to this dictionary have been compiled.
-
setCompiled
public void setCompiled(boolean value)
Set if all outstanding changes to this dictionary have been compiled.
-
isPublished
public boolean isPublished()
Get if all outstanding changes to this dictionary have been published.
-
setPublished
public void setPublished(boolean value)
Set if all outstanding changes to this dictionary have been published.
-
getTriggerPayloadField
public java.lang.String getTriggerPayloadField()
Get the name of the output field that will contain payloads for matching triggers.
-
setTriggerPayloadField
public void setTriggerPayloadField(java.lang.String value)
Set the name of the output field that will contain payloads for matching triggers.
-
getTriggerVersionField
public java.lang.String getTriggerVersionField()
Get the name of the output field that will contain a version identifer for the dictionary used to apply triggers.
-
setTriggerVersionField
public void setTriggerVersionField(java.lang.String value)
Set the name of the output field that will contain a version identifer for the dictionary used to apply triggers.
-
getTriggerNameField
public java.lang.String getTriggerNameField()
Get the name of the output field for storing the names of matching triggers.If this is the empty string, matching trigger names will not be output.
-
setTriggerNameField
public void setTriggerNameField(java.lang.String value)
Set the name of the output field for storing the names of matching triggers.If this is the empty string, matching trigger names will not be output.
-
getTriggerScoreField
public java.lang.String getTriggerScoreField()
Get the name of the output field for storing aggregate score for all matching triggers.If this is the empty string, the aggregate trigger score will not be output.
-
setTriggerScoreField
public void setTriggerScoreField(java.lang.String value)
Set the name of the output field for storing aggregate score for all matching triggers.If this is the empty string, the aggregate trigger score will not be output.
-
getEntityNameField
public java.lang.String getEntityNameField()
Get the name of the output field for storing the entity names for matching triggers.If this is the empty string, matching entity names will not be output.
-
setEntityNameField
public void setEntityNameField(java.lang.String value)
Set the name of the output field for storing the entity names for matching triggers.If this is the empty string, matching entity names will not be output.
-
getEntityScoreField
public java.lang.String getEntityScoreField()
Get the name of the output field for storing the per-entity scores for matching triggers.If this is the empty string, per-entity scores will not be output.
NOTE: This field must be a dynamic field (start with *).
-
setEntityScoreField
public void setEntityScoreField(java.lang.String value)
Set the name of the output field for storing the per-entity scores for matching triggers.If this is the empty string, per-entity scores will not be output.
NOTE: This field must be a dynamic field (start with *).
-
isTriggerNameScopes
public boolean isTriggerNameScopes()
Iftruescopes will be added for trigger names for matching triggers.
-
setTriggerNameScopes
public void setTriggerNameScopes(boolean value)
Iftruescopes will be added for trigger names for matching triggers.
-
isEntityNameScopes
public boolean isEntityNameScopes()
Iftruescopes will be added for entity names for matching triggers.
-
setEntityNameScopes
public void setEntityNameScopes(boolean value)
Iftruescopes will be added for entity names for matching triggers.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classTriggerDictionaryName
-
hashCode
public int hashCode()
- Overrides:
hashCodein classTriggerDictionaryName
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classTriggerDictionaryName
-
clone
public TriggerDictionaryInfo clone()
- Overrides:
clonein classTriggerDictionaryName
-
-