Class AlertUtilities

java.lang.Object
com.Lomikel.Januser.JanusClient
com.astrolabsoftware.FinkBrowser.Januser.AlertUtilities
All Implemented Interfaces:
ModifyingGremlinClient

public class AlertUtilities extends JanusClient
AlertUtilities provides utility searches for alerts.
Author:
J.Hrivnac
  • Field Details

    • log

      private static org.apache.logging.log4j.Logger log
      Logging .
  • Constructor Details

    • AlertUtilities

      public AlertUtilities(String hostname, int port, String table)
      Create with connection parameters.
      Parameters:
      hostname - The HBase hostname.
      port - The HBase port.
      table - The HBase table.
    • AlertUtilities

      public AlertUtilities(String hostname, int port, String table, boolean batch)
      Create with connection parameters.
      Parameters:
      hostname - The HBase hostname.
      port - The HBase port.
      table - The HBase table.
      batch - Whether open graph for batch loading.
    • AlertUtilities

      public AlertUtilities(String properties)
      Create with connection properties file.
      Parameters:
      properties - The file with the complete properties.
  • Method Details

    • main

      public static void main(String[] args)
      TBD
    • searchJd

      public List<Vertex> searchJd(double since, double till, String lbl, int limit)
      Search Vertexes between Julian Dates.
      Parameters:
      since - The end Julian Date.
      till - The start Julian Date.
      lbl - The Vertex label.
      limit - The maximal number of resuolts to give.
      Returns:
      The List of Vertexes.