Uses of Record Class
org.umlg.sqlg.structure.PropertyDefinition
Package
Description
-
Uses of PropertyDefinition in org.umlg.sqlg.sql.dialect
Modifier and TypeMethodDescriptiondefault <L,
R> void SqlBulkDialect.bulkAddEdges
(SqlgGraph sqlgGraph, SchemaTable in, SchemaTable out, String edgeLabel, org.apache.commons.lang3.tuple.Pair<String, String> idFields, Collection<org.apache.commons.lang3.tuple.Pair<L, R>> uids, Map<String, PropertyDefinition> edgeColumns, Map<String, Object> edgePropertyMap) -
Uses of PropertyDefinition in org.umlg.sqlg.sql.parse
Modifier and TypeMethodDescriptionorg.apache.commons.lang3.tuple.Pair<String,
PropertyDefinition> ColumnList.getPropertyDefinition
(String alias) SchemaTableTree.getPropertyDefinitions()
Modifier and TypeMethodDescriptionvoid
WhereClause.putKeyValueMap
(org.apache.tinkerpop.gremlin.process.traversal.step.util.HasContainer hasContainer, SchemaTableTree schemaTableTree, com.google.common.collect.Multimap<PropertyDefinition, Object> keyValueMapAgain) void
AndOrHasContainer.setParameterOnStatement
(com.google.common.collect.Multimap<PropertyDefinition, Object> keyValueMapAgain, SchemaTableTree schemaTableTree) ModifierConstructorDescriptionColumnList
(SqlgGraph graph, boolean drop, org.apache.commons.collections4.set.ListOrderedSet<String> identifiers, Map<String, Map<String, PropertyDefinition>> filteredAllTables) build a new empty column list -
Uses of PropertyDefinition in org.umlg.sqlg.structure
Modifier and TypeMethodDescriptionstatic PropertyDefinition
PropertyDefinition.fromNotifyJson
(com.fasterxml.jackson.databind.JsonNode jsonNode) static PropertyDefinition
PropertyDefinition.of
(PropertyType propertyType) static PropertyDefinition
PropertyDefinition.of
(PropertyType propertyType, Multiplicity multiplicity) static PropertyDefinition
PropertyDefinition.of
(PropertyType propertyType, Multiplicity multiplicity, String defaultLiteral) static PropertyDefinition
PropertyDefinition.of
(PropertyType propertyType, Multiplicity multiplicity, String defaultLiteral, String checkConstraint) static PropertyDefinition
PropertyDefinition.temp
(PropertyType propertyType) Modifier and TypeMethodDescriptionboolean
SqlgElement.loadProperty
(ResultSet resultSet, String propertyName, int columnIndex, Map<String, String> columnNameAliasMap, int stepDepth, PropertyDefinition propertyDefinition) boolean
SqlgElement.loadProperty
(ResultSet resultSet, String propertyName, int columnIndex, Map<String, String> columnNameAliasMap, int stepDepth, PropertyDefinition propertyDefinition, boolean isAverage) default void
TopologyInf.updatePropertyDefinition
(PropertyDefinition propertyDefinition) -
Uses of PropertyDefinition in org.umlg.sqlg.structure.topology
Modifier and TypeMethodDescriptionTopology.getAllTables()
get all tables by schema, with their properties does not return schema tablesTopology.getAllTables
(boolean sqlgSchema) get all tables by schema, with their propertiesTopology.getTableFor
(SchemaTable schemaTable) Schema.getTemporaryTable
(String tableName) Modifier and TypeMethodDescriptionprotected void
AbstractLabel.internalUpdatePropertyDefinition
(PropertyColumn propertyColumn, PropertyDefinition propertyDefinition, PropertyDefinition currentPropertyDefinition, String name, PropertyColumn copy) void
PropertyColumn.updatePropertyDefinition
(PropertyDefinition propertyDefinition) Modifier and TypeMethodDescriptionstatic void
TopologyManager.addEdgeColumn
(SqlgGraph sqlgGraph, String schema, String prefixedTable, Map<String, PropertyDefinition> column, org.apache.commons.collections4.set.ListOrderedSet<String> primaryKeys) static org.apache.tinkerpop.gremlin.structure.Vertex
TopologyManager.addEdgeLabel
(SqlgGraph sqlgGraph, String prefixedTable, Map<String, PropertyDefinition> columns, org.apache.commons.collections4.set.ListOrderedSet<String> identifiers, PartitionType partitionType, String partitionExpression) static void
TopologyManager.addVertexColumn
(SqlgGraph sqlgGraph, String schema, String prefixedTable, Map.Entry<String, PropertyDefinition> column) static void
TopologyManager.addVertexLabel
(SqlgGraph sqlgGraph, String schema, String tableName, Map<String, PropertyDefinition> columns, org.apache.commons.collections4.set.ListOrderedSet<String> identifiers) static void
TopologyManager.addVertexLabel
(SqlgGraph sqlgGraph, String schema, String tableName, Map<String, PropertyDefinition> columns, org.apache.commons.collections4.set.ListOrderedSet<String> identifiers, PartitionType partitionType, String partitionExpression) void
Schema.createTempTable
(String tableName, Map<String, PropertyDefinition> columns) Schema.ensureEdgeLabelExist
(String edgeLabelName, VertexLabel outVertexLabel, VertexLabel inVertexLabel, Map<String, PropertyDefinition> columns) Schema.ensureEdgeLabelExist
(String edgeLabelName, VertexLabel outVertexLabel, VertexLabel inVertexLabel, Map<String, PropertyDefinition> columns, org.apache.commons.collections4.set.ListOrderedSet<String> identifiers) Schema.ensureEdgeLabelExist
(String edgeLabelName, VertexLabel outVertexLabel, VertexLabel inVertexLabel, Map<String, PropertyDefinition> columns, org.apache.commons.collections4.set.ListOrderedSet<String> identifiers, int shardCount, String distributionColumn, AbstractLabel colocate) Schema.ensureEdgeLabelExist
(String edgeLabelName, VertexLabel outVertexLabel, VertexLabel inVertexLabel, Map<String, PropertyDefinition> columns, org.apache.commons.collections4.set.ListOrderedSet<String> identifiers, int shardCount, String distributionColumn, AbstractLabel colocate, EdgeDefinition edgeDefinition) Schema.ensureEdgeLabelExist
(String edgeLabelName, VertexLabel outVertexLabel, VertexLabel inVertexLabel, Map<String, PropertyDefinition> columns, org.apache.commons.collections4.set.ListOrderedSet<String> identifiers, EdgeDefinition edgeDefinition) Schema.ensureEdgeLabelExist
(String edgeLabelName, VertexLabel outVertexLabel, VertexLabel inVertexLabel, Map<String, PropertyDefinition> columns, EdgeDefinition edgeDefinition) void
Topology.ensureEdgeLabelExist
(String edgeLabelName, SchemaTable foreignKeyOut, SchemaTable foreignKeyIn, Map<String, PropertyDefinition> properties) Ensures that the edge table with out and in foreign keys and property columns exists.Topology.ensureEdgeLabelExist
(String edgeLabelName, VertexLabel outVertexLabel, VertexLabel inVertexLabel, Map<String, PropertyDefinition> properties) Ensures that the edge table with out and inVertexLabel
s and property columns exists.Topology.ensureEdgeLabelExist
(String edgeLabelName, VertexLabel outVertexLabel, VertexLabel inVertexLabel, Map<String, PropertyDefinition> properties, org.apache.commons.collections4.set.ListOrderedSet<String> identifiers) Ensures that the edge table with out and inVertexLabel
s and property columns exists.VertexLabel.ensureEdgeLabelExist
(String edgeLabelName, VertexLabel inVertexLabel, Map<String, PropertyDefinition> properties) Ensures that theEdgeLabel
exists.VertexLabel.ensureEdgeLabelExist
(String edgeLabelName, VertexLabel inVertexLabel, Map<String, PropertyDefinition> properties, org.apache.commons.collections4.set.ListOrderedSet<String> identifiers) Ensures that theEdgeLabel
exists.VertexLabel.ensureEdgeLabelExist
(String edgeLabelName, VertexLabel inVertexLabel, EdgeDefinition edgeDefinition, Map<String, PropertyDefinition> properties) void
Topology.ensureEdgePropertiesExist
(String schemaName, String label, Map<String, PropertyDefinition> properties) Ensures that the edge's table has the required columns.void
Topology.ensureEdgePropertiesExist
(String label, Map<String, PropertyDefinition> properties) Ensures that the edge's table has the required columns.Schema.ensurePartitionedEdgeLabelExist
(String edgeLabelName, VertexLabel outVertexLabel, VertexLabel inVertexLabel, Map<String, PropertyDefinition> columns, org.apache.commons.collections4.set.ListOrderedSet<String> identifiers, PartitionType partitionType, String partitionExpression) Schema.ensurePartitionedEdgeLabelExist
(String edgeLabelName, VertexLabel outVertexLabel, VertexLabel inVertexLabel, Map<String, PropertyDefinition> columns, org.apache.commons.collections4.set.ListOrderedSet<String> identifiers, PartitionType partitionType, String partitionExpression, boolean isForeignKeyPartition, EdgeDefinition edgeDefinition) VertexLabel.ensurePartitionedEdgeLabelExist
(String edgeLabelName, VertexLabel inVertexLabel, Map<String, PropertyDefinition> properties, org.apache.commons.collections4.set.ListOrderedSet<String> identifiers, PartitionType partitionType, String partitionExpression) Schema.ensurePartitionedEdgeLabelExistOnInOrOutVertexLabel
(String edgeLabelName, VertexLabel outVertexLabel, VertexLabel inVertexLabel, Map<String, PropertyDefinition> columns, org.apache.commons.collections4.set.ListOrderedSet<String> identifiers, PartitionType partitionType, VertexLabel foreignKeyVertexLabel) Schema.ensurePartitionedVertexLabelExist
(String label, Map<String, PropertyDefinition> columns, org.apache.commons.collections4.set.ListOrderedSet<String> identifiers, PartitionType partitionType, String partitionExpression) Schema.ensurePartitionedVertexLabelExist
(String label, Map<String, PropertyDefinition> columns, org.apache.commons.collections4.set.ListOrderedSet<String> identifiers, PartitionType partitionType, String partitionExpression, boolean addPrimaryKeyConstraint) void
EdgeLabel.ensurePropertiesExist
(Map<String, PropertyDefinition> columns) void
VertexLabel.ensurePropertiesExist
(Map<String, PropertyDefinition> columns) void
Topology.ensureTemporaryVertexTableExist
(String schema, String label, Map<String, PropertyDefinition> properties) Schema.ensureVertexLabelExist
(String label, Map<String, PropertyDefinition> columns) Schema.ensureVertexLabelExist
(String label, Map<String, PropertyDefinition> columns, org.apache.commons.collections4.set.ListOrderedSet<String> identifiers) Topology.ensureVertexLabelExist
(String schemaName, String label, Map<String, PropertyDefinition> properties) Ensures that the schema, vertex table and property columns exist in the db.Topology.ensureVertexLabelExist
(String schemaName, String label, Map<String, PropertyDefinition> properties, org.apache.commons.collections4.set.ListOrderedSet<String> identifiers) Ensures that the schema, vertex table and property columns exist in the db.Topology.ensureVertexLabelExist
(String label, Map<String, PropertyDefinition> columns) Ensures that the vertex table and property columns exist in the db.Topology.ensureVertexLabelExist
(String label, Map<String, PropertyDefinition> columns, org.apache.commons.collections4.set.ListOrderedSet<String> identifiers) void
Topology.ensureVertexLabelPropertiesExist
(String schemaName, String label, Map<String, PropertyDefinition> properties) Ensures that the vertex's table has the required columns.void
Topology.ensureVertexLabelPropertiesExist
(String label, Map<String, PropertyDefinition> properties) Ensures that the vertex's table has the required columns. -
Uses of PropertyDefinition in org.umlg.sqlg.util
Modifier and TypeMethodDescriptionSqlgUtil.transformToColumnDefinitionMap
(Object... keyValues) SqlgUtil.validateVertexKeysValues
(SqlDialect sqlDialect, Object[] keyValues) Validates the key values and converts it into a Triple with three maps.SqlgUtil.validateVertexKeysValues
(SqlDialect sqlDialect, Object[] keyValues, List<String> previousBatchModeKeys) Modifier and TypeMethodDescriptionstatic void
SqlgUtil.validateIncomingPropertyType
(String incomingPropertyDescription, PropertyDefinition incomingPropertyDefinition, String propertyDescription, PropertyDefinition propertyDefinition) Modifier and TypeMethodDescriptionstatic int
SqlgUtil.setKeyValueAsParameter
(SqlgGraph sqlgGraph, boolean mod, int parameterStartIndex, PreparedStatement preparedStatement, org.apache.commons.lang3.tuple.ImmutablePair<PropertyDefinition, Object> pair) static int
SqlgUtil.setKeyValuesAsParameter
(SqlgGraph sqlgGraph, boolean mod, int parameterStartIndex, PreparedStatement preparedStatement, Collection<org.apache.commons.lang3.tuple.ImmutablePair<PropertyDefinition, Object>> typeAndValues) static int
SqlgUtil.setKeyValuesAsParameterUsingPropertyColumn
(SqlgGraph sqlgGraph, boolean mod, int parameterStartIndex, PreparedStatement preparedStatement, Collection<org.apache.commons.lang3.tuple.Pair<PropertyDefinition, Object>> typeAndValues) static int
SqlgUtil.setKeyValuesAsParameterUsingPropertyColumn
(SqlgGraph sqlgGraph, int i, PreparedStatement preparedStatement, Map<String, org.apache.commons.lang3.tuple.Pair<PropertyDefinition, Object>> properties)