Enum BinaryOperationKind
Enumeration of the different binary operations allowed. Only can be appended at the end, because mp use the index for type inference
Namespace: Mangrove.MetricSetSyntaxTree.ExpressionNodes
Assembly: MetricSetSyntaxTree.dll
Syntax
public enum BinaryOperationKind
Fields
Name | Description |
---|---|
AddDays | Returns a new DateTime that adds the specified number of days to the value of this instance. |
And | (&&) Boolean conjunction. |
BitAnd | Bitwise AND - perform logical AND operation on each pair of bits of two integral expressions. |
BitOr | Bitwise OR - perform logical OR operation on each pair of bits of two integral expressions. |
BitShiftLeft | Bitwise left shift - bits of the left expression are moved to the left by the number of bits specified by the right expression. |
BitShiftRight | Bitwise right shift - bits of the left expression are moved to the right by the number of bits specified by the right expression. |
BitXor | Bitwise XOR - perform logical eXclusive OR operation on each pair of bits of two integral expressions. |
DateTimeCompare | Compares two instances of DateTime and returns an integer that indicates whether the first instance is earlier than, the same as, or later than the second instance. |
DatetimeToString | Convert a DateTime to a String using the given format string. |
Divide | (/) Divide one expression by another. |
Equal | (==) Equate two expressions. |
ExtractFlight | A placeholder for generic flight extraction logic. The first argument is the column containing the flight information, the second argument is the regular expression to match the required flights. |
ExtractFrom | Combines the "item property" syntax of arrays and dictionaries with "extract column from extern". |
ExtractJson | Extract the specified element out of a JSON string using a JSONPath string. The first first argument is the JSON path, the second is the JSON itself. |
GetSumOfValuesUpTo | Count the entries of histogram up to a given threshold. |
Greater | (>) Greater than operator. |
GreaterEqual | (>=) Greater than or equal to operator. |
Less | (<) Less than operator. |
LessEqual | (<=) Less than or equal to operator. |
MathMax | Return the maximum (numerically/lexically) of two expressions. |
MathMin | Return the minimum (numerically/lexically) of two expressions. |
Minus | (-) Subtract one expression from another. |
Mod | (%) Take integer modulus. |
Multiply | (*) Multiply two expressions. |
None | This should never show up (i.e., you should throw an exception when it does). |
NotEqual | (!=) Not equal to operator. |
NullCoalesce | Null coalescing operator (a ?? b). |
Or | (||) Boolean OR. |
Percentile | Percentile function. Percentile(hist, x) is the x-th percentile of the distribution given by hist. |
Plus | (+) Add two expressions. |
Power | Power function. Power(x, y) is x to y power. |
StringConcat | Concatenate the first string with the second. |
StringContains | First string contains the second. |
StringEndswith | First string ends with the second. |
StringMatches | First string |
StringStartswith | First string starts with the second. |
StringToDatetime | Convert a String together with a format string to a DateTime. Here Left is the date, and Right is the format string. |
SubString | Retrieves a SubString from this instance. The substring starts at a specified character position and continues to the end of the string. string Substring (int startIndex) |