_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c14600 | train | //used internally to create a NOT ILIKE BooleanExpression | {
"resource": ""
} | ||
c14601 | train | //checks an like rhs to create the proper like expression for strings or regexps | {
"resource": ""
} | ||
c14602 | train | //used internally to create an BETWEEN comparison RangeExpression | {
"resource": ""
} | ||
c14603 | train | //used internally to create an NOT BETWEEN comparison RangeExpression | {
"resource": ""
} | ||
c14604 | train | //used internally by other expressions to create a new aliased expression | {
"resource": ""
} | ||
c14605 | train | //used internally to create a new SORT_ASC OrderedExpression | {
"resource": ""
} | ||
c14606 | train | //used internally to create a new SORT_DESC OrderedExpression | {
"resource": ""
} | ||
c14607 | train | //Creates a new SqlFunctionExpression with the given name and arguments | {
"resource": ""
} | ||
c14608 | train | //used internally to normalize the column name if passed in as a string it should be turned into an identifier | {
"resource": ""
} | ||
c14609 | train | //Creates a new WITH common table expression for a SqlExpression, typically Datasets'. This function is used internally by Dataset when a CTE is added to another Dataset | {
"resource": ""
} | ||
c14610 | train | //Alias to InnerJoin. See examples. | {
"resource": ""
} | ||
c14611 | train | //Adds an INNER JOIN clause. See examples. | {
"resource": ""
} | ||
c14612 | train | //Adds a FULL OUTER JOIN clause. See examples. | {
"resource": ""
} | ||
c14613 | train | //Adds a RIGHT OUTER JOIN clause. See examples. | {
"resource": ""
} | ||
c14614 | train | //Adds a LEFT OUTER JOIN clause. See examples. | {
"resource": ""
} | ||
c14615 | train | //Adds a FULL JOIN clause. See examples. | {
"resource": ""
} | ||
c14616 | train | //Adds a RIGHT JOIN clause. See examples. | {
"resource": ""
} | ||
c14617 | train | //Adds a LEFT JOIN clause. See examples. | {
"resource": ""
} | ||
c14618 | train | //Adds a NATURAL JOIN clause. See examples. | {
"resource": ""
} | ||
c14619 | train | //Adds a NATURAL LEFT JOIN clause. See examples. | {
"resource": ""
} | ||
c14620 | train | //Adds a NATURAL RIGHT JOIN clause. See examples. | {
"resource": ""
} | ||
c14621 | train | //Adds a NATURAL FULL JOIN clause. See examples. | {
"resource": ""
} | ||
c14622 | train | //Adds a CROSS JOIN clause. See examples. | {
"resource": ""
} | ||
c14623 | train | //Joins this Datasets table with another | {
"resource": ""
} | ||
c14624 | train | //Adds a WHERE clause. See examples. | {
"resource": ""
} | ||
c14625 | train | //Removes the WHERE clause. See examples. | {
"resource": ""
} | ||
c14626 | train | //Adds a GROUP BY clause. See examples. | {
"resource": ""
} | ||
c14627 | train | //Adds a ORDER clause. If the ORDER is currently set it replaces it. See examples. | {
"resource": ""
} | ||
c14628 | train | //Adds a more columns to the current ORDER BY clause. If no order has be previously specified it is the same as calling Order. See examples. | {
"resource": ""
} | ||
c14629 | train | //Removes the ORDER BY clause. See examples. | {
"resource": ""
} | ||
c14630 | train | //Adds a LIMIT clause. If the LIMIT is currently set it replaces it. See examples. | {
"resource": ""
} | ||
c14631 | train | //Adds a LIMIT ALL clause. If the LIMIT is currently set it replaces it. See examples. | {
"resource": ""
} | ||
c14632 | train | //Adds an OFFSET clause. If the OFFSET is currently set it replaces it. See examples. | {
"resource": ""
} | ||
c14633 | train | //Creates an INTERSECT statement with another dataset.
// If this or the other dataset has a limit or offset it will use that dataset as a subselect in the FROM clause. See examples. | {
"resource": ""
} | ||
c14634 | train | //Used internally to determine if the dataset needs to use iteself as a source.
//If the dataset has an order or limit it will select from itself | {
"resource": ""
} | ||
c14635 | train | //Adds a RETURNING clause to the dataset if the adapter supports it. Typically used for INSERT, UPDATE or DELETE. See examples. | {
"resource": ""
} | ||
c14636 | train | //Sets the alias for this dataset. This is typically used when using a Dataset as a subselect. See examples. | {
"resource": ""
} | ||
c14637 | train | //Does actual sql generation of sql, accepts an sql builder so other methods can call when creating subselects and needing prepared sql. | {
"resource": ""
} | ||
c14638 | train | // ProductName generates product name | {
"resource": ""
} | ||
c14639 | train | // Model generates model name that consists of letters and digits, optionally with a hyphen between them | {
"resource": ""
} | ||
c14640 | train | // UserName generates user name in one of the following forms
// first name + last name, letter + last names or concatenation of from 1 to 3 lowercased words | {
"resource": ""
} | ||
c14641 | train | // IPv4 generates IPv4 address | {
"resource": ""
} | ||
c14642 | train | // IPv6 generates IPv6 address | {
"resource": ""
} | ||
c14643 | train | // DigitsN returns n digits as a string | {
"resource": ""
} | ||
c14644 | train | // CreditCardNum generated credit card number according to the card number rules | {
"resource": ""
} | ||
c14645 | train | // City generates random city | {
"resource": ""
} | ||
c14646 | train | // CharactersN generates n random characters in the given language | {
"resource": ""
} | ||
c14647 | train | // WordsN generates n random words | {
"resource": ""
} | ||
c14648 | train | // Sentence generates random sentence | {
"resource": ""
} | ||
c14649 | train | // SentencesN generates n random sentences | {
"resource": ""
} | ||
c14650 | train | // ParagraphsN generates n paragraphs | {
"resource": ""
} | ||
c14651 | train | // Year generates year using the given boundaries | {
"resource": ""
} | ||
c14652 | train | // GetLangs returns a slice of available languages | {
"resource": ""
} | ||
c14653 | train | // SetLang sets the language in which the data should be generated
// returns error if passed language is not available | {
"resource": ""
} | ||
c14654 | train | // JobTitle generates job title | {
"resource": ""
} | ||
c14655 | train | // ProcessLogxiFormatEnv parses LOGXI_FORMAT | {
"resource": ""
} | ||
c14656 | train | // ProcessLogxiEnv parses LOGXI variable | {
"resource": ""
} | ||
c14657 | train | // ProcessLogxiColorsEnv parases LOGXI_COLORS | {
"resource": ""
} | ||
c14658 | train | // Format formats log entry as JSON. | {
"resource": ""
} | ||
c14659 | train | // RegisterFormatFactory registers a format factory function. | {
"resource": ""
} | ||
c14660 | train | // NewHappyDevFormatter returns a new instance of HappyDevFormatter. | {
"resource": ""
} | ||
c14661 | train | // Write a string and tracks the position of the string so we can break lines
// cleanly. Do not send ANSI escape sequences, just raw strings | {
"resource": ""
} | ||
c14662 | train | // NewLogger creates a new default logger. If writer is not concurrent
// safe, wrap it with NewConcurrentWriter. | {
"resource": ""
} | ||
c14663 | train | // NewLogger3 creates a new logger with a writer, name and formatter. If writer is not concurrent
// safe, wrap it with NewConcurrentWriter. | {
"resource": ""
} | ||
c14664 | train | // Trace logs a debug entry. | {
"resource": ""
} | ||
c14665 | train | // Debug logs a debug entry. | {
"resource": ""
} | ||
c14666 | train | // Info logs an info entry. | {
"resource": ""
} | ||
c14667 | train | // Warn logs a warn entry. | {
"resource": ""
} | ||
c14668 | train | // Error logs an error entry. | {
"resource": ""
} | ||
c14669 | train | // Fatal logs a fatal entry then panics. | {
"resource": ""
} | ||
c14670 | train | // Log logs a leveled entry. | {
"resource": ""
} | ||
c14671 | train | // NewTextFormatter returns a new instance of TextFormatter. SetName
// must be called befored using it. | {
"resource": ""
} | ||
c14672 | train | // Format records a log entry. | {
"resource": ""
} | ||
c14673 | train | // ReadAtoms reads MP4 metadata atoms from the io.ReadSeeker into a Metadata, returning
// non-nil error if there was a problem. | {
"resource": ""
} | ||
c14674 | train | // SumAtoms constructs a checksum of MP4 audio file data provided by the io.ReadSeeker which is
// metadata invariant. | {
"resource": ""
} | ||
c14675 | train | // String returns a string representation of the underlying Comm instance. | {
"resource": ""
} | ||
c14676 | train | // String returns a string representation of the underlying Picture instance. | {
"resource": ""
} | ||
c14677 | train | // ReadID3v1Tags reads ID3v1 tags from the io.ReadSeeker. Returns ErrNotID3v1
// if there are no ID3v1 tags, otherwise non-nil error if there was a problem. | {
"resource": ""
} | ||
c14678 | train | // Identify identifies the format and file type of the data in the ReadSeeker. | {
"resource": ""
} | ||
c14679 | train | // readID3v2Header reads the ID3v2 header from the given io.Reader.
// offset it number of bytes of header that was read | {
"resource": ""
} | ||
c14680 | train | // filter io.Reader which skip the Unsynchronisation bytes | {
"resource": ""
} | ||
c14681 | train | // id3v2genre parse a id3v2 genre tag and expand the numeric genres | {
"resource": ""
} | ||
c14682 | train | // ReadFLACTags reads FLAC metadata from the io.ReadSeeker, returning the resulting
// metadata in a Metadata implementation, or non-nil error if there was a problem. | {
"resource": ""
} | ||
c14683 | train | // set the MusicBrainz tag to the given value. | {
"resource": ""
} | ||
c14684 | train | // NewPlugin takes a value that implements LoggerPlugin and wraps it with
// the appropriate methods to satisfy the OsqueryPlugin interface. Use this to
// easily create plugins implementing osquery loggers. | {
"resource": ""
} | ||
c14685 | train | // String implements the fmt.Stringer interface for LogType. | {
"resource": ""
} | ||
c14686 | train | // Open opens the named pipe with the provided path and timeout,
// returning a TTransport. | {
"resource": ""
} | ||
c14687 | train | // Accept wraps the standard net.Listener accept to return a thrift.TTransport. | {
"resource": ""
} | ||
c14688 | train | // NewExtensionManagerServer creates a new extension management server
// communicating with osquery over the socket at the provided path. If
// resolving the address or connecting to the socket fails, this function will
// error. | {
"resource": ""
} | ||
c14689 | train | // RegisterPlugin adds one or more OsqueryPlugins to this extension manager. | {
"resource": ""
} | ||
c14690 | train | // Run starts the extension manager and runs until osquery calls for a shutdown
// or the osquery instance goes away. | {
"resource": ""
} | ||
c14691 | train | // Ping implements the basic health check. | {
"resource": ""
} | ||
c14692 | train | // Call routes a call from the osquery process to the appropriate registered
// plugin. | {
"resource": ""
} | ||
c14693 | train | // Shutdown stops the server and closes the listening socket. | {
"resource": ""
} | ||
c14694 | train | // Useful for testing | {
"resource": ""
} | ||
c14695 | train | // NewConfigPlugin takes a value that implements ConfigPlugin and wraps it with
// the appropriate methods to satisfy the OsqueryPlugin interface. Use this to
// easily create configuration plugins. | {
"resource": ""
} | ||
c14696 | train | // Open opens the unix domain socket with the provided path and timeout,
// returning a TTransport. | {
"resource": ""
} | ||
c14697 | train | // NewClient creates a new client communicating to osquery over the socket at
// the provided path. If resolving the address or connecting to the socket
// fails, this function will error. | {
"resource": ""
} | ||
c14698 | train | // Close should be called to close the transport when use of the client is
// completed. | {
"resource": ""
} | ||
c14699 | train | // Ping requests metadata from the extension manager. | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.