Saturday, 29 January 2022

Gremlin: Get the capabilities of Graph store

Once you got the graph object, you can get the capabilities of graph store using graph.features() method.

gremlin> graph.features()
==>FEATURES
> GraphFeatures
>-- Transactions: true
>-- Persistence: true
>-- ThreadedTransactions: true
>-- Computer: true
>-- IoRead: true
>-- IoWrite: true
>-- ConcurrentAccess: true
> VariableFeatures
>-- Variables: true
>-- BooleanArrayValues: true
>-- StringArrayValues: true
>-- SerializableValues: false
>-- DoubleArrayValues: true
>-- UniformListValues: false
>-- IntegerArrayValues: true
>-- MapValues: true
>-- DoubleValues: true
>-- LongValues: true
>-- IntegerValues: true
>-- ByteValues: true
>-- LongArrayValues: true
>-- ByteArrayValues: true
>-- BooleanValues: true
>-- StringValues: true
>-- MixedListValues: false
>-- FloatArrayValues: true
>-- FloatValues: true
> VertexFeatures
>-- MetaProperties: true
>-- RemoveVertices: true
>-- MultiProperties: true
>-- AddVertices: true
>-- Upsert: false
>-- DuplicateMultiProperties: true
>-- NullPropertyValues: false
>-- NumericIds: true
>-- UserSuppliedIds: false
>-- RemoveProperty: true
>-- StringIds: false
>-- AddProperty: true
>-- CustomIds: false
>-- UuidIds: false
>-- AnyIds: false
> VertexPropertyFeatures
>-- NullPropertyValues: false
>-- NumericIds: false
>-- UserSuppliedIds: false
>-- RemoveProperty: true
>-- StringIds: true
>-- CustomIds: true
>-- UuidIds: false
>-- AnyIds: false
>-- Properties: true
>-- BooleanArrayValues: true
>-- StringArrayValues: true
>-- SerializableValues: false
>-- DoubleArrayValues: true
>-- UniformListValues: false
>-- IntegerArrayValues: true
>-- MapValues: true
>-- DoubleValues: true
>-- LongValues: true
>-- IntegerValues: true
>-- ByteValues: true
>-- LongArrayValues: true
>-- ByteArrayValues: true
>-- BooleanValues: true
>-- StringValues: true
>-- MixedListValues: false
>-- FloatArrayValues: true
>-- FloatValues: true
> EdgeFeatures
>-- Upsert: false
>-- AddEdges: true
>-- RemoveEdges: true
>-- NullPropertyValues: false
>-- NumericIds: false
>-- UserSuppliedIds: false
>-- RemoveProperty: true
>-- StringIds: false
>-- AddProperty: true
>-- CustomIds: true
>-- UuidIds: false
>-- AnyIds: false
> EdgePropertyFeatures
>-- Properties: true
>-- BooleanArrayValues: true
>-- StringArrayValues: true
>-- SerializableValues: false
>-- DoubleArrayValues: true
>-- UniformListValues: false
>-- IntegerArrayValues: true
>-- MapValues: true
>-- DoubleValues: true
>-- LongValues: true
>-- IntegerValues: true
>-- ByteValues: true
>-- LongArrayValues: true
>-- ByteArrayValues: true
>-- BooleanValues: true
>-- StringValues: true
>-- MixedListValues: false
>-- FloatArrayValues: true
>-- FloatValues: true

gremlin>

 

 

 

Previous                                                 Next                                                 Home

No comments:

Post a Comment