nl.topicus.jdbc.shaded.net.sf.jsqlparser.expression.PartitionByClause Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spanner-jdbc Show documentation
Show all versions of spanner-jdbc Show documentation
JDBC Driver for Google Cloud Spanner
The newest version!
/*
* #%L
* JSQLParser library
* %%
* Copyright (C) 2004 - 2018 JSQLParser
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either version 2.1 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
*
* You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
* .
* #L%
*/
package nl.topicus.jdbc.shaded.net.sf.jsqlparser.expression;
import nl.topicus.jdbc.shaded.net.sf.jsqlparser.expression.operators.relational.ExpressionList;
import nl.topicus.jdbc.shaded.net.sf.jsqlparser.statement.select.PlainSelect;
public class PartitionByClause {
ExpressionList partitionExpressionList;
public ExpressionList getPartitionExpressionList() {
return partitionExpressionList;
}
public void setPartitionExpressionList(ExpressionList partitionExpressionList) {
this.partitionExpressionList = partitionExpressionList;
}
void toStringPartitionBy(StringBuilder b) {
if (partitionExpressionList != null && !partitionExpressionList.getExpressions().isEmpty()) {
b.append("PARTITION BY ");
b.append(PlainSelect.
getStringList(partitionExpressionList.getExpressions(), true, false));
b.append(" ");
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy