Class Alert
- java.lang.Object
-
- com.Lomikel.Januser.Wertex
-
- com.Lomikel.Januser.Hertex
-
- com.astrolabsoftware.FinkBrowser.Januser.Alert
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.Vertex
Vertex.Exceptions
-
-
Field Summary
Fields Modifier and Type Field Description private static org.apache.logging.log4j.Logger
log
Logging .-
Fields inherited from interface org.apache.tinkerpop.gremlin.structure.Vertex
DEFAULT_LABEL, EMPTY_ARGS
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Vertex
getOrCreate(java.lang.String rowkey, GraphTraversalSource g, boolean enhance)
GetAlert
backuped by HBase from the JanusGraph, or create if it doesn't exist yet.static Vertex
getOrCreate(java.lang.String rowkey, GraphTraversalSource g, java.lang.String fields)
GetAlert
backuped by HBase from the JanusGraph, or create if it doesn't exist yet.-
Methods inherited from class com.Lomikel.Januser.Hertex
client, enhance, getOrCreate, getOrCreate, setHBaseClient
-
Methods inherited from class com.Lomikel.Januser.Wertex
addEdge, edges, enhance, graph, id, label, properties, property, remove, representant, rowkey, rowkeyName, rowkeyName, rowkeyNames, rowkeyNames, rowkeys, setFields, setFields, setRowkeyName, setRowkeyNames, vertices
-
-
-
-
Field Detail
-
log
private static org.apache.logging.log4j.Logger log
Logging .
-
-
Method Detail
-
getOrCreate
public static Vertex getOrCreate(java.lang.String rowkey, GraphTraversalSource g, java.lang.String fields)
GetAlert
backuped by HBase from the JanusGraph, or create if it doesn't exist yet.- Parameters:
rowkey
- TheVertex
rowkey value.g
- TheGraphTraversalSource
to be used to execute operations.fields
- The coma-separated list of fields to fill. null will fill all fields. Empty String will fill nothing besides rowkey fields.- Returns:
- The created
Vertex
. It will be created even when no corresponding entry exists in the HBase. In that case, it can be enhanced later.
-
getOrCreate
public static Vertex getOrCreate(java.lang.String rowkey, GraphTraversalSource g, boolean enhance)
GetAlert
backuped by HBase from the JanusGraph, or create if it doesn't exist yet.- Parameters:
rowkey
- TheVertex
rowkey value.g
- TheGraphTraversalSource
to be used to execute operations.enhance
- Whether enhance all values from the HBase.- Returns:
- The created
Vertex
. It will be created even when no corresponding entry exists in the HBase. In that case, it can be enhanced later.
-
-