Tabnine Logo
Event.getExternalId
Code IndexAdd Tabnine to your IDE (free)

How to use
getExternalId
method
in
uk.gov.dstl.baleen.types.semantic.Event

Best Java code snippets using uk.gov.dstl.baleen.types.semantic.Event.getExternalId (Showing top 8 results out of 315)

origin: dstl/baleen

/**
 * Convert from an event to a map.
 *
 * @param event the relation to convert
 * @return a map containing the relation's fields (and history is required)
 */
public Map<String, Object> convertEvent(Event event) {
 Map<String, Object> map = new IgnoreEmptyKeyMapDecorator<>(Maps.newHashMap());
 convertFeatures(map, event);
 if (outputHistory && documentHistory != null) {
  convertHistory(map, event);
 }
 map.put(fields.getExternalId(), event.getExternalId());
 return map;
}
origin: dstl/baleen

e2.addToIndexes(jCas);
assertEquals(e1.getExternalId(), e2.getExternalId());
Graph graph = GraphFactory.open(propertiesFile.getAbsolutePath());
assertTrue(graph.traversal().V(e1.getExternalId()).hasNext());
origin: dstl/baleen

assertTrue(
  traversal
    .V(event.getExternalId())
    .hasLabel(EVENT)
    .has("value", event.getValue())
origin: dstl/baleen

assertTrue(
  traversal
    .V(event.getExternalId())
    .hasLabel(EVENT)
    .has("value", event.getValue())
origin: dstl/baleen

assertTrue(
  traversal
    .V(event.getExternalId())
    .hasLabel(EVENT)
    .has("value", event.getValue())
origin: dstl/baleen

graph
  .traversal()
  .V(event.getExternalId())
  .hasLabel(EVENT)
  .has("value", event.getValue())
origin: dstl/baleen

graph
  .traversal()
  .V(event.getExternalId())
  .hasLabel(EVENT)
  .has("value", event.getValue())
origin: dstl/baleen

assertTrue(
  traversal
    .V(event.getExternalId())
    .hasLabel(EVENT)
    .has("value", event.getValue())
uk.gov.dstl.baleen.types.semanticEventgetExternalId

Popular methods of Event

  • setBegin
  • setEnd
  • <init>
  • addToIndexes
  • getBegin
  • setArguments
    setter for arguments - sets Additional text information, such as subject/object, in addition to the
  • setEntities
    setter for entities - sets The entities which are involved / related / associated with the event.
  • setEventType
    setter for eventType - sets The event type which classifies the event.For example Currently based on
  • setValue
    setter for value - sets A textual representation of the event, typically this may be one or more ver
  • getEnd
  • getEntities
    indexed getter for entities - gets an indexed value - The entities which are involved / related / as
  • getValue
    getter for value - gets A textual representation of the event, typically this may be one or more ver
  • getEntities,
  • getValue,
  • setTokens,
  • getArguments,
  • getConfidence,
  • getEventType,
  • getTokens,
  • readObject,
  • setReferent

Popular in Java

  • Finding current android device location
  • getSystemService (Context)
  • requestLocationUpdates (LocationManager)
  • getExternalFilesDir (Context)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now