Class Alert
java.lang.Object
com.Lomikel.Januser.Wertex
com.Lomikel.Januser.Hertex
com.astrolabsoftware.FinkBrowser.Januser.Alert
Alert
is a Hertex
representing alert.- Author:
- J.Hrivnac
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.Vertex
Vertex.Exceptions
-
Field Summary
FieldsFields inherited from interface org.apache.tinkerpop.gremlin.structure.Vertex
DEFAULT_LABEL, EMPTY_ARGS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Vertex
getOrCreate
(String rowkey, GraphTraversalSource g, boolean enhance) GetAlert
backuped by HBase from the JanusGraph, or create if it doesn't exist yet.static Vertex
getOrCreate
(String rowkey, GraphTraversalSource g, 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 Details
-
log
Logging .
-
-
Constructor Details
-
Alert
Dress existingVertex
with values from HBase.- Parameters:
vertex
- The originalVertex
.fields
- The coma-separated list of fields to fill in from the database. All fields will be filled in if null.
-
Alert
Dress existingVertex
with values from HBase.- Parameters:
vertex
- The originalVertex
.fields
- The fields to fill in from the database. All fields will be filled in if null.
-
-
Method Details
-
getOrCreate
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
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.
-