_id
stringlengths
2
7
title
stringclasses
1 value
partition
stringclasses
3 values
text
stringlengths
6
2.61k
language
stringclasses
1 value
meta_information
dict
c12400
train
// NewRandomGraph creates a new random graph generator.
{ "resource": "" }
c12401
train
// newTriple creates new triple using the provided node IDs.
{ "resource": "" }
c12402
train
// Generate creates the required number of triples.
{ "resource": "" }
c12403
train
// New returns a new table that can hold data for the given bindings. The, // table creation will fail if there are repeated bindings.
{ "resource": "" }
c12404
train
// String returns a readable representation of a cell.
{ "resource": "" }
c12405
train
// ToTextLine converts a row into line of text. To do so, it requires the list // of bindings of the table, and the separator you want to use. If the separator // is empty tabs will be used.
{ "resource": "" }
c12406
train
// AddRow adds a row to the end of a table. For performance reasons, it does not // check that all bindings are set, nor that they are declared on table // creation. BQL builds valid tables, if you plan to create tables on your own // you should be careful to provide valid rows.
{ "resource": "" }
c12407
train
// NumRows returns the number of rows currently available on the table.
{ "resource": "" }
c12408
train
// Row returns the requested row. Rows start at 0. Also, if you request a row // beyond it will return nil, and the ok boolean will be false.
{ "resource": "" }
c12409
train
// Rows returns all the available rows.
{ "resource": "" }
c12410
train
// unsafeAddBindings add the new bindings provided to the table bypassing the lock.
{ "resource": "" }
c12411
train
// AddBindings add the new bindings provided to the table.
{ "resource": "" }
c12412
train
// ProjectBindings replaces the current bindings with the projected one. The // provided bindings needs to be a subset of the original bindings. If the // provided bindings are not a subset of the original ones, the projection will // fail, leave the table unmodified, and return an error. The projection only // modify ...
{ "resource": "" }
c12413
train
// HasBinding returns true if the binding currently exist on the table.
{ "resource": "" }
c12414
train
// Bindings returns the bindings contained on the tables.
{ "resource": "" }
c12415
train
// equalBindings returns true if the bindings are the same, false otherwise.
{ "resource": "" }
c12416
train
// AppendTable appends the content of the provided table. It will fail it the // target table is not empty and the bindings do not match.
{ "resource": "" }
c12417
train
// disjointBinding returns true if they are not overlapping bindings, false // otherwise.
{ "resource": "" }
c12418
train
// MergeRows takes a list of rows and returns a new map containing both.
{ "resource": "" }
c12419
train
// DotProduct does the dot product with the provided table
{ "resource": "" }
c12420
train
// Truncate flushes all the data away. It still retains all set bindings.
{ "resource": "" }
c12421
train
// Limit keeps the initial ith rows.
{ "resource": "" }
c12422
train
// Swap exchange the i and j rows in the table.
{ "resource": "" }
c12423
train
// Less returns true if the i row is less than j one.
{ "resource": "" }
c12424
train
// unsafeSort sorts the table given a sort configuration bypassing the lock.
{ "resource": "" }
c12425
train
// Sort sorts the table given a sort configuration.
{ "resource": "" }
c12426
train
// groupRangeReduce takes a sorted range and generates a new row containing // the aggregated columns and the non aggregated ones.
{ "resource": "" }
c12427
train
// unsafeFullGroupRangeReduce takes a sorted range and generates a new row containing // the aggregated columns and the non aggregated ones. This call bypasses the lock.
{ "resource": "" }
c12428
train
// toMap converts a list of alias and acc pairs into a nested map. The first // key is the input binding, the second one is the output binding.
{ "resource": "" }
c12429
train
// Reduce alters the table by sorting and then range grouping the table data. // In order to group reduce the table, we sort the table and then apply the // accumulator functions to each group. Finally, the table metadata gets // updated to reflect the reduce operation.
{ "resource": "" }
c12430
train
// Filter removes all the rows where the provided function returns true.
{ "resource": "" }
c12431
train
// ToText convert the table into a readable text versions. It requires the // separator to be used between cells.
{ "resource": "" }
c12432
train
// String attempts to force serialize the table into a string.
{ "resource": "" }
c12433
train
// Trace attempts to write a trace if a valid writer is provided. The // tracer is lazy on the string generation to avoid adding too much // overhead when tracing ins not on.
{ "resource": "" }
c12434
train
// String returns a readable version of the LookupOptions instance.
{ "resource": "" }
c12435
train
// UUID return the UUID of the lookup option.
{ "resource": "" }
c12436
train
// NewGraph creates a new graph.
{ "resource": "" }
c12437
train
// Graph returns an existing graph if available. Getting a non existing // graph should return an error.
{ "resource": "" }
c12438
train
// AddTriples adds the triples to the storage.
{ "resource": "" }
c12439
train
// RemoveTriples removes the triples from the storage.
{ "resource": "" }
c12440
train
// newChecker creates a new checker for a given LookupOptions configuration.
{ "resource": "" }
c12441
train
// CheckAndUpdate checks if a predicate should be considered and it also updates // the internal state in case counts are needed.
{ "resource": "" }
c12442
train
// Objects published the objects for the give object and predicate to the // provided channel.
{ "resource": "" }
c12443
train
// Evaluate return the provided value.
{ "resource": "" }
c12444
train
// String returns a readable string of the operation.
{ "resource": "" }
c12445
train
// NewEvaluationExpression creates a new evaluator for two bindings in a row.
{ "resource": "" }
c12446
train
// NewBinaryBooleanExpression creates a new binary boolean evaluator.
{ "resource": "" }
c12447
train
// NewUnaryBooleanExpression creates a new unary boolean evaluator.
{ "resource": "" }
c12448
train
// NewEvaluator construct an evaluator given a sequence of tokens. It will // return a descriptive error if it could build it properly.
{ "resource": "" }
c12449
train
// Strings returns the pretty printing version of the type
{ "resource": "" }
c12450
train
// ToComparableString returns a string that can be directly compared.
{ "resource": "" }
c12451
train
// Bool returns the value of a literal as a boolean.
{ "resource": "" }
c12452
train
// Int64 returns the value of a literal as an int64.
{ "resource": "" }
c12453
train
// Float64 returns the value of a literal as a float64.
{ "resource": "" }
c12454
train
// Text returns the value of a literal as a string.
{ "resource": "" }
c12455
train
// Build creates a new unbound literal from a type and a value.
{ "resource": "" }
c12456
train
// Parse creates a string out of a prettified representation.
{ "resource": "" }
c12457
train
// Build creates a new literal of bounded size.
{ "resource": "" }
c12458
train
// Parse creates a string out of a prettyfied representation.
{ "resource": "" }
c12459
train
// UUID returns a global unique identifier for the given literal. It is // implemented as the SHA1 UUID of the literal value.
{ "resource": "" }
c12460
train
// String returns the pretty printed version of the predicate.
{ "resource": "" }
c12461
train
// Parse converts a pretty printed predicate into a predicate.
{ "resource": "" }
c12462
train
// TimeAnchor attempts to return the time anchor of a predicate if its type is // temporal.
{ "resource": "" }
c12463
train
// NewImmutable creates a new immutable predicate.
{ "resource": "" }
c12464
train
// NewTemporal creates a new temporal predicate.
{ "resource": "" }
c12465
train
// UUID returns a global unique identifier for the given predicate. It is // implemented as the SHA1 UUID of the predicate values.
{ "resource": "" }
c12466
train
// PartialUUID returns a global unique identifier for the given predicate but it // only takes into account the predicate ID. Usually you do not want to use this // partial UUID and likely you want to use the standard UUID. This partial UUID // is only useful for driver implementers when they want to take advantage // ...
{ "resource": "" }
c12467
train
// UsageString returns the command usage string..
{ "resource": "" }
c12468
train
// New creates a new tree generator. The triples are generated using breadth // search first. All predicates are immutable and use the predicate // `"parent_of"@[]`.`
{ "resource": "" }
c12469
train
// newTriple creates a new triple given the parent and the descendant as an object.
{ "resource": "" }
c12470
train
// recurse generated the triple by recursing while there are still triples // left to generate.
{ "resource": "" }
c12471
train
// Generates the requested number of triples.
{ "resource": "" }
c12472
train
// String pretty prints the object.
{ "resource": "" }
c12473
train
// UUID returns a global unique identifier for the given object. It is // implemented by returning the UIUD of the underlying value stored in the // object.
{ "resource": "" }
c12474
train
// Node attempts to return the boxed node.
{ "resource": "" }
c12475
train
// Predicate attempts to return the boxed predicate.
{ "resource": "" }
c12476
train
// Literal attempts to return the boxed literal.
{ "resource": "" }
c12477
train
// ParseObject attempts to parse an object.
{ "resource": "" }
c12478
train
// New creates a new triple.
{ "resource": "" }
c12479
train
// Equal checks if two triples are identical.
{ "resource": "" }
c12480
train
// String marshals the triple into pretty string.
{ "resource": "" }
c12481
train
// Parse process the provided text and tries to create a triple. It assumes // that the provided text contains only one triple.
{ "resource": "" }
c12482
train
// Reify given the current triple it returns the original triple and the newly // reified ones. It also returns the newly created blank node.
{ "resource": "" }
c12483
train
// UUID returns a global unique identifier for the given triple. It is // implemented as the SHA1 UUID of the concatenated UUIDs of the subject, // predicate, and object.
{ "resource": "" }
c12484
train
// TypeBindingClauseHook returns a ClauseHook that sets the binding type.
{ "resource": "" }
c12485
train
// dataAccumulator creates a element hook that tracks fully formed triples and // adds them to the Statement when fully formed.
{ "resource": "" }
c12486
train
// graphAccumulator returns an element hook that keeps track of the graphs // listed in a statement.
{ "resource": "" }
c12487
train
// whereNextWorkingClause returns a clause hook to close the current graphs // clause and starts a new working one.
{ "resource": "" }
c12488
train
// whereInitWorkingClause initialize a new working graph clause.
{ "resource": "" }
c12489
train
// whereSubjectClause returns an element hook that updates the subject // modifiers on the working graph clause.
{ "resource": "" }
c12490
train
// processPredicate parses a consumed element and returns a predicate and its attributes if possible.
{ "resource": "" }
c12491
train
// processPredicate parses a consumed element and returns a bound predicate and its attributes if possible.
{ "resource": "" }
c12492
train
// wherePredicateClause returns an element hook that updates the predicate // modifiers on the working graph clause.
{ "resource": "" }
c12493
train
// varAccumulator returns an element hook that updates the object // modifiers on the working graph clause.
{ "resource": "" }
c12494
train
// bindingsGraphChecker validate that all input bindings are provided by the // graph pattern.
{ "resource": "" }
c12495
train
// groupByBindings collects the bindings listed in the group by clause.
{ "resource": "" }
c12496
train
// groupByBindingsChecker checks that all group by bindings are valid output // bindings.
{ "resource": "" }
c12497
train
// orderByBindings collects the bindings listed in the order by clause.
{ "resource": "" }
c12498
train
// orderByBindingsChecker checks that all order by bindings are valid output // bindings.
{ "resource": "" }
c12499
train
// havingExpression collects the tokens that form the HAVING clause.
{ "resource": "" }