Package

io.prophecy.abinitio.xfr

ast

Permalink

package ast

Visibility
  1. Public
  2. All

Type Members

  1. case class ArrayColumnAggregateFunctionExpression(inputExpr: CustomExpression, mergeExpr: CustomExpression, initialExpression: CustomExpression, accumulateVariableName: String, loopVarName: String) extends CustomExpression with Product with Serializable

    Permalink
  2. case class ArrayColumnHigherFunctionExpression(inputExpr: CustomExpression, outputExpr: CustomExpression, functionName: String, loopVarName: String) extends CustomExpression with Product with Serializable

    Permalink
  3. case class ArrayColumnNoneFilterExpression(inputExpr: CustomExpression) extends CustomExpression with Product with Serializable

    Permalink
  4. case class ArrayFormat(format: CustomDataFormat, elements: Option[Any] = None, isMutable: Boolean = false) extends CustomDataFormat with Product with Serializable

    Permalink
  5. case class ArrayLookupExpression(keyExpression: CustomExpression, arrayExpr: CustomExpression) extends CustomExpression with Product with Serializable

    Permalink
  6. case class ArrayTypeAssignCustomStatement(arrayVariable: ArrayVariableCustomTerm, theExpression: CustomExpression) extends CustomStatement with Product with Serializable

    Permalink
  7. case class ArrayTypeCustomTerm(arrayTerm: SimpleArrayCustomTerm, field: String) extends ArrayVariableCustomTerm with Product with Serializable

    Permalink
  8. trait ArrayVariableCustomTerm extends VariableCustomTerm

    Permalink
  9. case class BinOpCustomExpression(op: String, term1: CustomExpression, term2: CustomExpression) extends CustomExpression with Product with Serializable

    Permalink
  10. case class BlockStatement(blockName: String, rows: Seq[CustomStatement]) extends CustomStatement with Product with Serializable

    Permalink
  11. case class BooleanFormat() extends CustomDataFormat with Product with Serializable

    Permalink
  12. case class BooleanLiteralCustomTerm(value: Boolean) extends LiteralCustomTerm with Product with Serializable

    Permalink
  13. case class ByteFormat() extends CustomDataFormat with Product with Serializable

    Permalink
  14. case class ByteLiteralCustomTerm(value: Byte) extends LiteralCustomTerm with Product with Serializable

    Permalink
  15. case class CRecordType(startType: String) extends CustomAST with Product with Serializable

    Permalink
  16. case class CaseExpression(conds: Seq[CustomExpression], expr: CustomExpression) extends CustomExpression with Product with Serializable

    Permalink
  17. case class CaseStatement(caseConditions: Seq[CustomExpression], caseStatement: CustomStatement) extends CustomStatement with Product with Serializable

    Permalink
  18. case class Comment(identifier: List[IDENTIFIER]) extends CustomDefinition with Product with Serializable

    Permalink
  19. trait CustomAST extends Positional

    Permalink
  20. case class CustomAssignStatement(stmt: Option[VarAssignCustomStatement], usrStmt: Option[UserDefVarAssignCustomStatement], smplStmt: Option[SimpleAssignCustomStatement] = None) extends CustomDefinition with Product with Serializable

    Permalink
  21. case class CustomBody(rows: Seq[CustomStatement]) extends CustomAST with Product with Serializable

    Permalink
  22. trait CustomDataFormat extends CustomAST

    Permalink
  23. trait CustomDefinition extends CustomAST

    Permalink
  24. trait CustomExpression extends CustomAST

    Permalink
  25. case class CustomFunctionDefinition(outType: Option[CustomDataFormat], outPort: String, functionName: String, args: Seq[CustomExpression], body: CustomBody) extends CustomDefinition with Product with Serializable

    Permalink
  26. case class CustomIncludeDefinition(filePath: String) extends CustomDefinition with Product with Serializable

    Permalink
  27. case class CustomPackageDefinition(packageName: String) extends CustomDefinition with Product with Serializable

    Permalink
  28. case class CustomSchemaRow(theType: CustomDataFormat, theVariable: String, theExpression: Option[CustomExpression] = None) extends CustomExpression with Product with Serializable

    Permalink
  29. case class CustomSchemaRows(rows: Seq[CustomSchemaRow]) extends CustomAST with Product with Serializable

    Permalink
  30. sealed trait CustomStatement extends CustomAST

    Permalink
  31. trait CustomTerm extends CustomAST

    Permalink
  32. case class CustomTransform(defs: Seq[CustomDefinition]) extends CustomAST with Product with Serializable

    Permalink
  33. case class CustomTypeDefinition(typeName: String, body: Seq[CustomSchemaRow]) extends CustomDefinition with Product with Serializable

    Permalink
  34. case class DataTypeName(name: String) extends CustomAST with Product with Serializable

    Permalink
  35. case class DataTypeNameWithProperties(name: String, miscProperties: Map[String, Any] = Map("packed" → false)) extends CustomAST with Product with Serializable

    Permalink
  36. case class DateFormat(format: Option[String], delimiter: Option[String], miscProperties: Map[String, Any] = Map()) extends CustomDataFormat with Product with Serializable

    Permalink
  37. case class DateTimeFormat(format: Option[String], delimiter: Option[String]) extends CustomDataFormat with Product with Serializable

    Permalink
  38. case class DateTimeTypeCastFormat(curFormat: Option[String], targetFormat: Option[String], delimiter: Option[String]) extends CustomDataFormat with Product with Serializable

    Permalink
  39. case class DateTypeCastFormat(curFormat: Option[String], targetFormat: Option[String], delimiter: Option[String], split: Option[String] = None) extends CustomDataFormat with Product with Serializable

    Permalink
  40. case class DoubleLiteralCustomTerm(value: Double) extends LiteralCustomTerm with Product with Serializable

    Permalink
  41. case class ExitStatement(blockName: String) extends CustomStatement with Product with Serializable

    Permalink
  42. case class ExpressionLiteralCustomTerm(value: String) extends LiteralCustomTerm with Product with Serializable

    Permalink
  43. case class ExpressionStatement(expression: CustomExpression) extends CustomStatement with Product with Serializable

    Permalink
  44. case class ForCustomExpression(initExpr: CustomExpression, termCondition: CustomExpression, rhs: CustomExpression) extends CustomExpression with Product with Serializable

    Permalink
  45. case class ForCustomExpressionWithStatement(initExpr: CustomExpression, termCondition: CustomExpression, stmts: Seq[CustomStatement], lastExpr: CustomExpression, loopStep: CustomExpression = ..., loopVarInitValue: CustomExpression = ...) extends CustomExpression with Product with Serializable

    Permalink
  46. case class ForCustomMultiStatement(initExpr: CustomExpression, termCondition: CustomExpression, loopStep: CustomExpression, body: Seq[CustomStatement], loopVarInitValue: Option[CustomExpression] = ...) extends CustomStatement with Product with Serializable

    Permalink
  47. case class ForCustomMultiStatementAsExpression(initExpr: CustomExpression, termCondition: CustomExpression, loopStep: CustomExpression, body: Seq[CustomStatement], loopVarInitValue: Option[CustomExpression] = ...) extends CustomExpression with Product with Serializable

    Permalink
  48. case class ForCustomStatement(initExpr: CustomExpression, termCondition: CustomExpression, loopStep: CustomExpression, theVariable: VariableCustomTerm, rhs: CustomExpression) extends CustomStatement with Product with Serializable

    Permalink
  49. case class ForLoopWithExitStatement(iterVariableName: String, loopRangeStartExpr: Option[CustomExpression], loopRangeEndExpr: CustomExpression, loopStep: CustomExpression, loopValueStmt: CustomStatement, miscBodyStmts: Seq[CustomStatement], exitIfStatement: CustomStatement) extends CustomStatement with Product with Serializable

    Permalink
  50. case class FunctionCustomExpression(name: String, origName: String, arguments: Seq[CustomExpression]) extends CustomExpression with Product with Serializable

    Permalink
  51. case class FunctionOnObjectExpression(factor: CustomExpression, call: FunctionCustomExpression) extends CustomExpression with Product with Serializable

    Permalink
  52. case class FunctionStatement(name: String, origName: String, arguments: Seq[CustomExpression]) extends CustomStatement with Product with Serializable

    Permalink
  53. case class GlobalVariableCustomTerm(name: String) extends VariableCustomTerm with Product with Serializable

    Permalink
  54. case class IfCustomExpression(condition: CustomExpression, theIf: CustomExpression) extends CustomExpression with Product with Serializable

    Permalink
  55. case class IfElseCustomExpression(condition: CustomExpression, theIf: CustomExpression, theElse: CustomExpression) extends CustomExpression with Product with Serializable

    Permalink
  56. case class IfElseStatement(condition: CustomExpression, ifBody: Seq[CustomStatement], elBody: Seq[CustomStatement]) extends CustomStatement with Product with Serializable

    Permalink
  57. case class IfStatement(condition: CustomExpression, ifBody: Seq[CustomStatement]) extends CustomStatement with Product with Serializable

    Permalink
  58. case class IntLiteralCustomTerm(value: Int) extends LiteralCustomTerm with Product with Serializable

    Permalink
  59. case class KeyExpression(keys: Seq[CustomExpression]) extends CustomExpression with Product with Serializable

    Permalink

    class to capture set of keys for vector search like {dim_name;nk_subrec}

  60. case class KeySpecifierExpression(key: CustomExpression, modifier: String) extends CustomExpression with Product with Serializable

    Permalink

    used for key specifiers like {age descending}, {age foldcase} etc.

  61. case class KeywordBasedArgumentExpression(keyword: String, expression: CustomExpression) extends CustomExpression with Product with Serializable

    Permalink
  62. trait LiteralCustomTerm extends CustomTerm

    Permalink
  63. case class LongLiteralCustomTerm(value: Long) extends LiteralCustomTerm with Product with Serializable

    Permalink
  64. case class LookupCustomExpression(factor: CustomExpression, field: String) extends CustomExpression with Product with Serializable

    Permalink
  65. case class MultiAssignCustomStatement(theVariable: MultiVariableCustomTerm, theExpression: CustomExpression) extends CustomStatement with Product with Serializable

    Permalink
  66. case class MultiStatement(rows: Seq[CustomStatement]) extends CustomStatement with Product with Serializable

    Permalink
  67. case class MultiVarCustomExpression(expressions: Seq[CustomExpression]) extends CustomExpression with Product with Serializable

    Permalink
  68. case class MultiVariableCustomTerm(names: Seq[String]) extends VariableCustomTerm with Product with Serializable

    Permalink
  69. case class MutableExpression(theType: CustomDataFormat, term: CustomExpression) extends CustomExpression with Product with Serializable

    Permalink
  70. case class NoneLiteralCustomTerm() extends LiteralCustomTerm with Product with Serializable

    Permalink
  71. case class NullLiteralCustomTerm() extends LiteralCustomTerm with Product with Serializable

    Permalink
  72. case class NumberFormat(precision: Option[Int], scale: Option[Int], delimiter: Option[String], theType: String = "decimal", miscProperties: Map[String, Any] = ...) extends CustomDataFormat with Product with Serializable

    Permalink
  73. case class OutAssignCustomExpressionBlock(theVariable: SimpleVariableCustomTerm, statements: Seq[CustomStatement], theExpression: CustomExpression) extends CustomExpression with Product with Serializable

    Permalink
  74. case class OutAssignCustomStatement(theVariable: SimpleVariableCustomTerm, theExpression: CustomExpression, priority: Int) extends CustomStatement with Product with Serializable

    Permalink
  75. case class OutAssignCustomStatementBlock(theVariable: SimpleVariableCustomTerm, statements: Seq[CustomStatement], theExpression: CustomExpression) extends CustomStatement with Product with Serializable

    Permalink
  76. case class OutAssignExpressionOnlyBlock(theVariable: SimpleVariableCustomTerm, expressions: Seq[CustomExpression], theExpression: CustomExpression) extends CustomExpression with Product with Serializable

    Permalink

    class to handle scenerio

    class to handle scenerio

    begin let string(int) sql_file = first_without_error(vector_select(CONFIG_REC.dbc_property, [record property_name "sql_file", property_value ""], {property_name})[0].property_value,"");

    let is_reconciliation_snapshot = first_defined(CONFIG_REC.enable_reconciliation_snapshot,"") == "Y"; result::if(is_full_cdc or (is_delta_cdc and is_reconciliation_snapshot)) "file.simple_read" else if (is_file and disable_multifile and not string_index(filename_pattern, ".xl")) "file.simple_read" else begin force_error("No channel code specified!"); result::"";end ;end

  77. case class ParameterisedDataTypeExpression(dataType: CustomDataFormat) extends CustomExpression with Product with Serializable

    Permalink

    class to encapsulate Spark data types including any parameters inside it like DecimalType(a,b), StringType(y) etc.

  78. case class PortAssign(priority: Int) extends CustomAST with Product with Serializable

    Permalink
  79. case class PortAssignCustomStatement(theVariable: ScopedVariableCustomTerm, theExpression: CustomExpression, priority: Int, portVariableExpression: Option[CustomExpression] = None) extends CustomStatement with Product with Serializable

    Permalink
  80. case class RangeExpression(lowerLimitExpr: CustomExpression, upperLimitExpr: CustomExpression, isEqual: Boolean = false) extends CustomExpression with Product with Serializable

    Permalink
  81. case class RecordCustomExpression(rows: Seq[CustomExpression], typeName: Option[String] = None) extends CustomExpression with Product with Serializable

    Permalink

    class to encapsulate records like below

    class to encapsulate records like below

    [record BIN_CTRY_CD "000", BIN_REGN_CD "00", BIN_USER_BUS_ID "000000000", BIN_OWNER_BUS_ID "000000000", BIN_USER_BID_UNFRZN "000000000", ATM_TIER_LVL " "];

  82. case class RecordExpression(theVariable: String, theExpression: Option[CustomExpression] = None) extends CustomExpression with Product with Serializable

    Permalink

    class to capture individual entries in a record.

  83. case class RecordFieldAssignCustomStatement(theVariable: ScopedVariableCustomTerm, theExpression: CustomExpression) extends CustomStatement with Product with Serializable

    Permalink

    class to take care of assignment of one record expression to other.

    class to take care of assignment of one record expression to other. For example Here dest_bin_ctry_regn_cd and srce_bin_ctry_regn_cd are different data frams. dest_bin_ctry_regn_cd.BIN_CTRY_CD = srce_bin_ctry_regn_cd.BIN_CTRY_CD;

  84. case class RecordFormat(rows: Seq[CustomSchemaRow], typeName: Option[String] = None) extends CustomDataFormat with Product with Serializable

    Permalink
  85. case class ReinterpretAsCustomExpression(datatype: CustomDataFormat, expr: CustomExpression, byteOffset: Int = 0) extends CustomExpression with Product with Serializable

    Permalink
  86. class ScopedVariableCustomTerm extends VariableCustomTerm

    Permalink
  87. case class SelectStatement(replacementMap: Map[String, List[(String, String)]]) extends CustomStatement with Product with Serializable

    Permalink
  88. case class SimpleArrayCustomTerm(arrayName: String, indexExpression: CustomExpression) extends ArrayVariableCustomTerm with Product with Serializable

    Permalink
  89. case class SimpleAssignCustomExpressionStatement(theVariable: SimpleVariableCustomTerm, theStatement: CustomAST) extends CustomStatement with Product with Serializable

    Permalink
  90. case class SimpleAssignCustomStatement(theVariable: SimpleVariableCustomTerm, theExpression: CustomExpression) extends CustomStatement with Product with Serializable

    Permalink
  91. case class SimpleCustomExpression(lit: Option[LiteralCustomTerm] = None, name: Option[VariableCustomTerm] = None) extends CustomExpression with Product with Serializable

    Permalink
  92. case class SimpleVariableCustomFormat(format: String, isArray: Boolean, elements: Option[Any] = None, dimensionList: Seq[IDENTIFIER] = Nil) extends CustomAST with Product with Serializable

    Permalink
  93. case class SimpleVariableCustomTerm(name: String) extends VariableCustomTerm with Product with Serializable

    Permalink
  94. case class SlicedVectorCustomExpression(arrayName: CustomExpression, startIndexExpression: CustomExpression, endIndexExpression: Option[CustomExpression] = None) extends CustomExpression with Product with Serializable

    Permalink
  95. case class SomeCustomExpression(expression: CustomExpression) extends CustomExpression with Product with Serializable

    Permalink
  96. case class StringFormat(maxLen: Option[Int], delimiter: Option[String], miscProperties: Map[String, Any] = Map()) extends CustomDataFormat with Product with Serializable

    Permalink
  97. case class StringLiteralCustomTerm(value: String) extends LiteralCustomTerm with Product with Serializable

    Permalink
  98. case class SwitchCaseExpression(switchCond: CustomExpression, caseExprs: Seq[CaseExpression], defaultExpr: Option[CustomExpression]) extends CustomExpression with Product with Serializable

    Permalink
  99. case class SwitchCaseStatement(switchCondition: CustomExpression, caseStatements: Seq[CaseStatement], defaultStatement: Option[CustomStatement]) extends CustomStatement with Product with Serializable

    Permalink
  100. case class TypeCast(format: CustomDataFormat) extends CustomAST with Product with Serializable

    Permalink
  101. case class TypeCastCustomExpression(theType: CustomDataFormat, term1: CustomExpression) extends CustomExpression with Product with Serializable

    Permalink
  102. case class UDFArgRowLookupCustomExpression(factor: CustomExpression, field: String, fieldType: Option[CustomDataFormat] = None) extends CustomExpression with Product with Serializable

    Permalink
  103. case class UDFRowCustomExpression(values: Seq[CustomExpression]) extends CustomExpression with Product with Serializable

    Permalink
  104. case class UnOpCustomExpression(op: String, term1: CustomExpression) extends CustomExpression with Product with Serializable

    Permalink
  105. case class UnknownFormat(typeName: String) extends CustomDataFormat with Product with Serializable

    Permalink
  106. case class UserDefVarAssignCustomStatement(theVariable: SimpleVariableCustomTerm, theFormat: SimpleVariableCustomFormat, theExpression: Option[CustomExpression]) extends CustomStatement with Product with Serializable

    Permalink
  107. case class VarAssignCustomStatement(theVariable: SimpleVariableCustomTerm, theFormat: CustomDataFormat, theExpression: Option[CustomExpression]) extends CustomStatement with Product with Serializable

    Permalink
  108. trait VariableCustomTerm extends CustomTerm

    Permalink
  109. case class VectorCustomExpression(literals: List[Option[LiteralCustomTerm]], name: Option[VariableCustomTerm] = None, arrayType: Option[String] = None) extends CustomExpression with Product with Serializable

    Permalink
  110. case class VectorCustomExpressionScala(literals: List[Option[LiteralCustomTerm]], name: Option[VariableCustomTerm] = None) extends CustomExpression with Product with Serializable

    Permalink
  111. case class VectorIndexAssignmentCustomExpression(arrayName: CustomExpression, indexExpression: CustomExpression) extends CustomExpression with Product with Serializable

    Permalink
  112. case class VectorInitializationExpression(theType: String, length: Option[Int] = None, lenVariable: Option[String] = None) extends CustomExpression with Product with Serializable

    Permalink
  113. case class VectorLookupExpression(keyExpression: CustomExpression, vectorValues: Seq[LiteralCustomTerm]) extends CustomExpression with Product with Serializable

    Permalink
  114. case class VoidFormat(size: Option[Int]) extends CustomDataFormat with Product with Serializable

    Permalink
  115. case class WhileCustomMultiStatement(termCondition: CustomExpression, body: Seq[CustomStatement]) extends CustomStatement with Product with Serializable

    Permalink

Value Members

  1. object CustomAST

    Permalink
  2. object FunctionCustomExpression extends Serializable

    Permalink
  3. object FunctionStatement extends Serializable

    Permalink
  4. object ScopedVariableCustomTerm

    Permalink

Ungrouped