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 VertexgetOrCreate(String rowkey, GraphTraversalSource g, boolean enhance) GetAlertbackuped by HBase from the JanusGraph, or create if it doesn't exist yet.static VertexgetOrCreate(String rowkey, GraphTraversalSource g, String fields) GetAlertbackuped 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, setHBaseClientMethods 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 existingVertexwith 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 existingVertexwith 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
GetAlertbackuped by HBase from the JanusGraph, or create if it doesn't exist yet.- Parameters:
rowkey- TheVertexrowkey value.g- TheGraphTraversalSourceto 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
GetAlertbackuped by HBase from the JanusGraph, or create if it doesn't exist yet.- Parameters:
rowkey- TheVertexrowkey value.g- TheGraphTraversalSourceto 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.
-