support concatAggIf

This commit is contained in:
wenchengyao 2024-04-23 15:56:31 +08:00
parent 40466e7508
commit f8a083e438

View File

@ -74,9 +74,10 @@ sealed trait DDLOp
* like "(A:label)-[p:property_name]->(V:String)",will convert to add property operator
* @param s
* @param propertyName
* @param propertyType
* @param propertyType\
* @param isDefine
*/
case class AddProperty(s: Element, propertyName: String, propertyType: KgType) extends DDLOp
case class AddProperty(s: Element, propertyName: String, propertyType: KgType, isDefine: Boolean) extends DDLOp
/**
* add vertex in graph state.
@ -89,8 +90,9 @@ case class AddVertex(s: PatternElement, props: Map[String, Expr]) extends DDLOp
/**
* like "(A:label)-[p:belongTo]->(B:Concept)",will convert to add predicate operator
* @param predicate
* @param isDefine
*/
case class AddPredicate(predicate: PredicateElement) extends DDLOp
case class AddPredicate(predicate: PredicateElement, isDefine: Boolean) extends DDLOp
/**
* output is add a property or add a predicate instance