public static class MySQLDialect.MySQLSQLBuilder
extends org.apache.spark.sql.connector.util.V2ExpressionSQLBuilder
Constructor and Description |
---|
MySQLSQLBuilder() |
Modifier and Type | Method and Description |
---|---|
String |
visitAggregateFunction(String funcName,
boolean isDistinct,
String[] inputs) |
String |
visitCast(String l,
DataType dataType) |
String |
visitLiteral(org.apache.spark.sql.connector.expressions.Literal<?> literal) |
String |
visitNamedReference(org.apache.spark.sql.connector.expressions.NamedReference namedRef) |
String |
visitOverlay(String[] inputs) |
String |
visitSortOrder(String sortKey,
org.apache.spark.sql.connector.expressions.SortDirection sortDirection,
org.apache.spark.sql.connector.expressions.NullOrdering nullOrdering) |
String |
visitSQLFunction(String funcName,
String[] inputs) |
String |
visitTrim(String direction,
String[] inputs) |
public String visitAggregateFunction(String funcName, boolean isDistinct, String[] inputs)
public String visitSortOrder(String sortKey, org.apache.spark.sql.connector.expressions.SortDirection sortDirection, org.apache.spark.sql.connector.expressions.NullOrdering nullOrdering)
visitSortOrder
in class org.apache.spark.sql.connector.util.V2ExpressionSQLBuilder
public String visitCast(String l, DataType dataType)
visitCast
in class org.apache.spark.sql.connector.util.V2ExpressionSQLBuilder
public String visitLiteral(org.apache.spark.sql.connector.expressions.Literal<?> literal)
visitLiteral
in class org.apache.spark.sql.connector.util.V2ExpressionSQLBuilder
public String visitNamedReference(org.apache.spark.sql.connector.expressions.NamedReference namedRef)
visitNamedReference
in class org.apache.spark.sql.connector.util.V2ExpressionSQLBuilder
public String visitOverlay(String[] inputs)
visitOverlay
in class org.apache.spark.sql.connector.util.V2ExpressionSQLBuilder
public String visitSQLFunction(String funcName, String[] inputs)
visitSQLFunction
in class org.apache.spark.sql.connector.util.V2ExpressionSQLBuilder
public String visitTrim(String direction, String[] inputs)
visitTrim
in class org.apache.spark.sql.connector.util.V2ExpressionSQLBuilder