Class KustoExpression
Expression emitter for the Kusto query language ( https://aka.ms/kdocs ). Can
be used in Kusto emitters, or just for debugging.
Inheritance
KustoExpression
Assembly: MetricSetEmitters.dll
Syntax
public class KustoExpression : ExpressionEmitterBase, IGenericExpressionVisitor<string>, IExpressionVisitor, IGenericVisitor<string>
Constructors
View Source
KustoExpression(ILogger)
Declaration
public KustoExpression(ILogger logger = null)
Parameters
Type |
Name |
Description |
ILogger |
logger |
|
Properties
View Source
AssignmentOperator
Declaration
protected override string AssignmentOperator { get; }
Property Value
Overrides
View Source
BinaryAggregationToOperator
Declaration
protected override IReadOnlyDictionary<BinaryAggregationKind, (string prefix, string separator, string suffix)> BinaryAggregationToOperator { get; }
Property Value
Overrides
View Source
BinaryOperationToOperator
Declaration
protected override IReadOnlyDictionary<BinaryOperationKind, (string prefix, string infix, string suffix)> BinaryOperationToOperator { get; }
Property Value
Overrides
View Source
LiteralFalse
Declaration
protected override string LiteralFalse { get; }
Property Value
Overrides
View Source
LiteralTrue
Declaration
protected override string LiteralTrue { get; }
Property Value
Overrides
View Source
Min_Max_Value
Not any sql key word can used by the MinValue and MaxValue, so use the constant.
Declaration
protected override Dictionary<string, string> Min_Max_Value { get; }
Property Value
Overrides
View Source
NegativeInfinity
Declaration
protected override string NegativeInfinity { get; }
Property Value
Overrides
View Source
PositiveInfinity
Declaration
protected override string PositiveInfinity { get; }
Property Value
Overrides
View Source
TernaryOperationToOperator
Declaration
protected override IReadOnlyDictionary<TernaryOperationKind, (string prefix, string leftInfix, string rightInfix, string suffix)> TernaryOperationToOperator { get; }
Property Value
Overrides
View Source
TypeKindToParseFromStringOperator
Declaration
protected override IReadOnlyDictionary<TypeKind, (string prefix, string suffix)> TypeKindToParseFromStringOperator { get; }
Property Value
Overrides
View Source
TypeToName
Declaration
protected override IReadOnlyDictionary<TypeKind, string> TypeToName { get; }
Property Value
Overrides
View Source
TypeToNull
Declaration
protected override IReadOnlyDictionary<TypeKind, string> TypeToNull { get; }
Property Value
Overrides
View Source
UnaryAggregationToOperator
Declaration
protected override IReadOnlyDictionary<UnaryAggregationKind, (string op, string prefix, string suffix)> UnaryAggregationToOperator { get; }
Property Value
Overrides
View Source
UnaryOperationToOperator
Declaration
protected override IReadOnlyDictionary<UnaryOperationKind, (string prefix, string suffix)> UnaryOperationToOperator { get; }
Property Value
Overrides
View Source
VectorOperationToOperator
Declaration
protected override IReadOnlyDictionary<VectorOperationKind, (string prefix, string separator, string suffix)> VectorOperationToOperator { get; }
Property Value
Overrides
View Source
WindowFunctionSyntax
Declaration
protected override (string prefix, string separator, string suffix) WindowFunctionSyntax { get; }
Property Value
Overrides
Methods
View Source
Escape(String)
Declaration
protected override string Escape(string input)
Parameters
Type |
Name |
Description |
String |
input |
|
Returns
Overrides
View Source
Visit(Literal)
Declaration
public override void Visit(Literal expr)
Parameters
Overrides
View Source
VisitCreateHistogramExpression(UnaryOperation)
Declaration
protected override void VisitCreateHistogramExpression(UnaryOperation expr)
Parameters
Overrides
View Source
VisitTypeCastExpression(UnaryOperation)
Declaration
protected override void VisitTypeCastExpression(UnaryOperation expr)
Parameters
Overrides
View Source
VisitWithTracing(BinaryOperation)
Declaration
public override void VisitWithTracing(BinaryOperation expr)
Parameters
Overrides
View Source
VisitWithTracing(ColumnReference)
Declaration
public override void VisitWithTracing(ColumnReference expr)
Parameters
Overrides
View Source
VisitWithTracing(UnaryWindowFunction)
Declaration
public override void VisitWithTracing(UnaryWindowFunction expr)
Parameters
Overrides
Implements
Extension Methods