com.sap.cds.ql.cqn.CqnVector Maven / Gradle / Ivy
/*******************************************************************
* © 2024 SAP SE or an SAP affiliate company. All rights reserved. *
*******************************************************************/
package com.sap.cds.ql.cqn;
import java.util.Optional;
import com.google.common.annotations.Beta;
import com.sap.cds.CdsVector;
import com.sap.cds.reflect.CdsBaseType;
@Beta
public interface CqnVector extends CqnLiteral {
@Override
default boolean isVector() {
return true;
}
@Override
default CqnVector asVector() {
return this;
}
@Override
default Optional type() {
return Optional.of(CdsBaseType.VECTOR.cdsName());
}
@Override
default boolean isConstant() {
return false;
}
@Override
default void accept(CqnVisitor visitor) {
visitor.visit(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy