package
ast
Type Members
-
-
-
-
case class
ArrayFormat(format: CustomDataFormat, elements: Option[Any] = None, isMutable: Boolean = false) extends CustomDataFormat with Product with Serializable
-
-
-
-
-
-
-
-
-
case class
ByteFormat() extends CustomDataFormat with Product with Serializable
-
-
case class
CRecordType(startType: String) extends CustomAST with Product with Serializable
-
-
-
case class
Comment(identifier: List[IDENTIFIER]) extends CustomDefinition with Product with Serializable
-
trait
CustomAST extends Positional
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
case class
DataTypeName(name: String) extends CustomAST with Product with Serializable
-
case class
DataTypeNameWithProperties(name: String, miscProperties: Map[String, Any] = Map("packed" → false)) extends CustomAST with Product with Serializable
-
case class
DateFormat(format: Option[String], delimiter: Option[String], miscProperties: Map[String, Any] = Map()) extends CustomDataFormat with Product with Serializable
-
case class
DateTimeFormat(format: Option[String], delimiter: Option[String]) extends CustomDataFormat with Product with Serializable
-
case class
DateTimeTypeCastFormat(curFormat: Option[String], targetFormat: Option[String], delimiter: Option[String]) extends CustomDataFormat with Product with Serializable
-
case class
DateTypeCastFormat(curFormat: Option[String], targetFormat: Option[String], delimiter: Option[String], split: Option[String] = None) extends CustomDataFormat with Product with Serializable
-
-
case class
ExitStatement(blockName: String) extends CustomStatement with Product with Serializable
-
-
-
-
-
-
-
-
-
-
-
case class
FunctionStatement(name: String, origName: String, arguments: Seq[CustomExpression]) extends CustomStatement with Product with Serializable
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
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
-
-
-
-
-
-
case class
PortAssign(priority: Int) extends CustomAST with Product with Serializable
-
-
-
-
case class
RecordExpression(theVariable: String, theExpression: Option[CustomExpression] = None) extends CustomExpression with Product with Serializable
-
-
case class
RecordFormat(rows: Seq[CustomSchemaRow], typeName: Option[String] = None) extends CustomDataFormat with Product with Serializable
-
-
-
case class
SelectStatement(replacementMap: Map[String, List[(String, String)]]) extends CustomStatement with Product with Serializable
-
-
-
-
-
case class
SimpleVariableCustomFormat(format: String, isArray: Boolean, elements: Option[Any] = None, dimensionList: Seq[IDENTIFIER] = Nil) extends CustomAST with Product with Serializable
-
-
-
case class
StringFormat(maxLen: Option[Int], delimiter: Option[String], miscProperties: Map[String, Any] = Map()) extends CustomDataFormat with Product with Serializable
-
-
-
-
-
-
-
-
-
case class
UnknownFormat(typeName: String) extends CustomDataFormat with Product with Serializable
-
-
-
-
-
-
-
case class
VectorInitializationExpression(theType: String, length: Option[Int] = None, lenVariable: Option[String] = None) extends CustomExpression with Product with Serializable
-
-
case class
VoidFormat(size: Option[Int]) extends CustomDataFormat with Product with Serializable
-
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