_id
stringlengths
2
7
text
stringlengths
6
2.61k
title
stringclasses
1 value
c14600
//used internally to create a NOT ILIKE BooleanExpression
c14601
//checks an like rhs to create the proper like expression for strings or regexps
c14602
//used internally to create an BETWEEN comparison RangeExpression
c14603
//used internally to create an NOT BETWEEN comparison RangeExpression
c14604
//used internally by other expressions to create a new aliased expression
c14605
//used internally to create a new SORT_ASC OrderedExpression
c14606
//used internally to create a new SORT_DESC OrderedExpression
c14607
//Creates a new SqlFunctionExpression with the given name and arguments
c14608
//used internally to normalize the column name if passed in as a string it should be turned into an identifier
c14609
//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
c14610
//Alias to InnerJoin. See examples.
c14611
//Adds an INNER JOIN clause. See examples.
c14612
//Adds a FULL OUTER JOIN clause. See examples.
c14613
//Adds a RIGHT OUTER JOIN clause. See examples.
c14614
//Adds a LEFT OUTER JOIN clause. See examples.
c14615
//Adds a FULL JOIN clause. See examples.
c14616
//Adds a RIGHT JOIN clause. See examples.
c14617
//Adds a LEFT JOIN clause. See examples.
c14618
//Adds a NATURAL JOIN clause. See examples.
c14619
//Adds a NATURAL LEFT JOIN clause. See examples.
c14620
//Adds a NATURAL RIGHT JOIN clause. See examples.
c14621
//Adds a NATURAL FULL JOIN clause. See examples.
c14622
//Adds a CROSS JOIN clause. See examples.
c14623
//Joins this Datasets table with another
c14624
//Adds a WHERE clause. See examples.
c14625
//Removes the WHERE clause. See examples.
c14626
//Adds a GROUP BY clause. See examples.
c14627
//Adds a ORDER clause. If the ORDER is currently set it replaces it. See examples.
c14628
//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.
c14629
//Removes the ORDER BY clause. See examples.
c14630
//Adds a LIMIT clause. If the LIMIT is currently set it replaces it. See examples.
c14631
//Adds a LIMIT ALL clause. If the LIMIT is currently set it replaces it. See examples.
c14632
//Adds an OFFSET clause. If the OFFSET is currently set it replaces it. See examples.
c14633
//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.
c14634
//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
c14635
//Adds a RETURNING clause to the dataset if the adapter supports it. Typically used for INSERT, UPDATE or DELETE. See examples.
c14636
//Sets the alias for this dataset. This is typically used when using a Dataset as a subselect. See examples.
c14637
//Does actual sql generation of sql, accepts an sql builder so other methods can call when creating subselects and needing prepared sql.
c14638
// ProductName generates product name
c14639
// Model generates model name that consists of letters and digits, optionally with a hyphen between them
c14640
// 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
c14641
// IPv4 generates IPv4 address
c14642
// IPv6 generates IPv6 address
c14643
// DigitsN returns n digits as a string
c14644
// CreditCardNum generated credit card number according to the card number rules
c14645
// City generates random city
c14646
// CharactersN generates n random characters in the given language
c14647
// WordsN generates n random words
c14648
// Sentence generates random sentence
c14649
// SentencesN generates n random sentences
c14650
// ParagraphsN generates n paragraphs
c14651
// Year generates year using the given boundaries
c14652
// GetLangs returns a slice of available languages
c14653
// SetLang sets the language in which the data should be generated // returns error if passed language is not available
c14654
// JobTitle generates job title
c14655
// ProcessLogxiFormatEnv parses LOGXI_FORMAT
c14656
// ProcessLogxiEnv parses LOGXI variable
c14657
// ProcessLogxiColorsEnv parases LOGXI_COLORS
c14658
// Format formats log entry as JSON.
c14659
// RegisterFormatFactory registers a format factory function.
c14660
// NewHappyDevFormatter returns a new instance of HappyDevFormatter.
c14661
// 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
c14662
// NewLogger creates a new default logger. If writer is not concurrent // safe, wrap it with NewConcurrentWriter.
c14663
// NewLogger3 creates a new logger with a writer, name and formatter. If writer is not concurrent // safe, wrap it with NewConcurrentWriter.
c14664
// Trace logs a debug entry.
c14665
// Debug logs a debug entry.
c14666
// Info logs an info entry.
c14667
// Warn logs a warn entry.
c14668
// Error logs an error entry.
c14669
// Fatal logs a fatal entry then panics.
c14670
// Log logs a leveled entry.
c14671
// NewTextFormatter returns a new instance of TextFormatter. SetName // must be called befored using it.
c14672
// Format records a log entry.
c14673
// ReadAtoms reads MP4 metadata atoms from the io.ReadSeeker into a Metadata, returning // non-nil error if there was a problem.
c14674
// SumAtoms constructs a checksum of MP4 audio file data provided by the io.ReadSeeker which is // metadata invariant.
c14675
// String returns a string representation of the underlying Comm instance.
c14676
// String returns a string representation of the underlying Picture instance.
c14677
// 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.
c14678
// Identify identifies the format and file type of the data in the ReadSeeker.
c14679
// readID3v2Header reads the ID3v2 header from the given io.Reader. // offset it number of bytes of header that was read
c14680
// filter io.Reader which skip the Unsynchronisation bytes
c14681
// id3v2genre parse a id3v2 genre tag and expand the numeric genres
c14682
// 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.
c14683
// set the MusicBrainz tag to the given value.
c14684
// 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.
c14685
// String implements the fmt.Stringer interface for LogType.
c14686
// Open opens the named pipe with the provided path and timeout, // returning a TTransport.
c14687
// Accept wraps the standard net.Listener accept to return a thrift.TTransport.
c14688
// 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.
c14689
// RegisterPlugin adds one or more OsqueryPlugins to this extension manager.
c14690
// Run starts the extension manager and runs until osquery calls for a shutdown // or the osquery instance goes away.
c14691
// Ping implements the basic health check.
c14692
// Call routes a call from the osquery process to the appropriate registered // plugin.
c14693
// Shutdown stops the server and closes the listening socket.
c14694
// Useful for testing
c14695
// 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.
c14696
// Open opens the unix domain socket with the provided path and timeout, // returning a TTransport.
c14697
// 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.
c14698
// Close should be called to close the transport when use of the client is // completed.
c14699
// Ping requests metadata from the extension manager.