Documentation
¶
Overview ¶
Foliage graph store jpgql package. Provides stateful functions of json-path graph query language for the graph store
Index ¶
- Constants
- func GetLinkNamesFromJPGQLLinkName(cacheStore *cache.Store, sourceId string, jpgqlLinkName string) []string
- func GetObjectIDsFromJPGQLLinkNameAndLinkFilterQuery(cacheStore *cache.Store, sourceId string, jpgqlLinkName string, ...) map[string]bool
- func GetObjectIDsFromLinkNameAndLinkFilterQueryWithAnyDepthStop(cacheStore *cache.Store, sourceId string, jpgqlLinkName string, ...) map[string]bool
- func GetSpecificLinkIndices(cacheStore *cache.Store, fromObjectID string, linkName string) map[string]struct{}
- func GetTargetIdFromSourceIdAndLinkName(cacheStore *cache.Store, sourceId string, linkName string) string
- func IsIndexedKeyMeetsRequirements(cacheStore *cache.Store, indexKeys []string, ...) bool
- func IsLinkBodyHasIndexValue(cacheStore *cache.Store, ...) bool
- func IsLinkSatifiesFilterCreteria(cacheStore *cache.Store, fromVertexId string, toVertexId string, ...) bool
- func IsVertexBodyHasIndexValue(cacheStore *cache.Store, ...) bool
- func JPGQLCallTreeResultAggregation(_ sfPlugins.StatefunExecutor, ctx *sfPlugins.StatefunContextProcessor)
- func RegisterAllFunctionTypes(runtime *statefun.Runtime)
- type AnyDepthStop
- type FilterData
Constants ¶
View Source
const QueryResultTopic = "functions.graph.query"
Variables ¶
This section is empty.
Functions ¶
func GetLinkNamesFromJPGQLLinkName ¶ added in v0.1.6
func GetObjectIDsFromJPGQLLinkNameAndLinkFilterQuery ¶ added in v0.1.6
func GetObjectIDsFromLinkNameAndLinkFilterQueryWithAnyDepthStop ¶ added in v0.1.6
func GetSpecificLinkIndices ¶ added in v0.1.3
func GetTargetIdFromSourceIdAndLinkName ¶ added in v0.1.6
func IsIndexedKeyMeetsRequirements ¶ added in v0.1.6
func IsLinkBodyHasIndexValue ¶ added in v0.1.6
func IsLinkSatifiesFilterCreteria ¶ added in v0.1.6
func IsVertexBodyHasIndexValue ¶ added in v0.1.6
func JPGQLCallTreeResultAggregation ¶ added in v0.1.6
func JPGQLCallTreeResultAggregation(_ sfPlugins.StatefunExecutor, ctx *sfPlugins.StatefunContextProcessor)
Types ¶
type AnyDepthStop ¶
type FilterData ¶
type FilterData struct {
// contains filtered or unexported fields
}
func NewFilterDataWithConjunctionFeatures ¶ added in v0.1.3
func NewFilterDataWithConjunctionFeatures(conjunctionFeatures []filterFeature) *FilterData
func NewFilterDataWithOneFeature ¶ added in v0.1.3
func NewFilterDataWithOneFeature(feature filterFeature) *FilterData
func ParseFilter ¶
func ParseFilter(filterQuery string) (*FilterData, error)
Click to show internal directories.
Click to hide internal directories.