IndexSpecBuilder

Methods

MethodDescription
buildReturn a spec
with_all_edge_metadataAdds all edge metadata to the spec.
with_all_edge_propertiesAdds all edge properties to the spec.
with_all_edge_properties_and_metadataAdds all edge properties and metadata to the spec.
with_all_node_metadataAdds all node metadata to the spec.
with_all_node_propertiesAdds all node properties to the spec.
with_all_node_properties_and_metadataAdds all node properties and metadata to the spec.
with_edge_metadataAdds specified edge metadata to the spec.
with_edge_propertiesAdds specified edge properties to the spec.
with_node_metadataAdds specified node metadata to the spec.
with_node_propertiesAdds specified node properties to the spec.

Method Details

build

Return a spec

Returns

TypeDescription
IndexSpec

with_all_edge_metadata

Adds all edge metadata to the spec.

with_all_edge_properties

Adds all edge properties to the spec.

with_all_edge_properties_and_metadata

Adds all edge properties and metadata to the spec.

with_all_node_metadata

Adds all node metadata to the spec.

with_all_node_properties

Adds all node properties to the spec.

with_all_node_properties_and_metadata

Adds all node properties and metadata to the spec.

with_edge_metadata

Signature: with_edge_metadata(props)

Adds specified edge metadata to the spec.

Parameters

NameTypeDefaultDescription
propsAny-

with_edge_properties

Signature: with_edge_properties(props)

Adds specified edge properties to the spec.

Parameters

NameTypeDefaultDescription
propsAny-

with_node_metadata

Signature: with_node_metadata(props)

Adds specified node metadata to the spec.

Parameters

NameTypeDefaultDescription
propsAny-

with_node_properties

Signature: with_node_properties(props)

Adds specified node properties to the spec.

Parameters

NameTypeDefaultDescription
propsAny-