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

com.sap.cds.ql.cqn.CqnVector Maven / Gradle / Ivy

There is a newer version: 3.6.1
Show newest version
/*******************************************************************
 * © 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