public static IGremlinNodeQuery <TNode> ExhaustMerge <TNode>(this IGremlinNodeQuery <TNode> query)
        {
            var newQuery = query.AddBlock(".exhaustMerge");

            return(new GremlinNodeEnumerable <TNode>(newQuery));
        }
        public static IGremlinNodeQuery <TNode> GremlinSkip <TNode>(this IGremlinNodeQuery <TNode> query, int count)
        {
            var newQuery = query.AddBlock(".drop({0})._()", count);

            return(new GremlinNodeEnumerable <TNode>(newQuery));
        }
        public static IGremlinNodeQuery <TNode> GremlinDistinct <TNode>(this IGremlinNodeQuery <TNode> query)
        {
            var newQuery = query.AddBlock(".dedup()");

            return(new GremlinNodeEnumerable <TNode>(newQuery));
        }
Example #4
0
        public static IGremlinNodeQuery <TNode> As <TNode>(this IGremlinNodeQuery <TNode> query, string label)
        {
            var newQuery = query.AddBlock(".as({0})", label);

            return(new GremlinNodeEnumerable <TNode>(newQuery));
        }
        public static IGremlinNodeQuery <TNode> EmitProperty <TNode>(this IGremlinNodeQuery <TNode> query, string propertyName)
        {
            var newQuery = query.AddBlock(string.Format(".{0}", propertyName));

            return(new GremlinNodeEnumerable <TNode>(newQuery));
        }
Example #6
0
        public static IGremlinNodeQuery <TNode> GremlinHasNext <TNode>(this IGremlinNodeQuery <TNode> query)
        {
            var newQuery = query.AddBlock(".hasNext()");

            return(new GremlinNodeEnumerable <TNode>(newQuery));
        }