All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sqlancer.cockroachdb.ast.CockroachDBCollate Maven / Gradle / Ivy

Go to download

SQLancer finds logic bugs in Database Management Systems through automatic testing

There is a newer version: 2.0.0
Show newest version
package sqlancer.cockroachdb.ast;

import sqlancer.common.ast.UnaryNode;

public class CockroachDBCollate extends UnaryNode implements CockroachDBExpression {

    private final String collate;

    public CockroachDBCollate(CockroachDBExpression expr, String collate) {
        super(expr);
        this.collate = collate;
    }

    public String getCollate() {
        return collate;
    }

    @Override
    public String getOperatorRepresentation() {
        return "COLLATE " + collate;
    }

    @Override
    public OperatorKind getOperatorKind() {
        return OperatorKind.POSTFIX;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy