package adql.query.operand; /* * This file is part of ADQLLibrary. * * ADQLLibrary 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 3 of the License, or * (at your option) any later version. * * ADQLLibrary 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 Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with ADQLLibrary. If not, see . * * Copyright 2012,2014 - UDS/Centre de Données astronomiques de Strasbourg (CDS), * Astronomisches Rechen Institut (ARI) */ import adql.query.ADQLObject; /** *

Any ADQL operand (an operation, a constant, a column name, a function, ...) must implement this interface * and indicates whether it corresponds to a numeric, a string or a geometrical region value.

* * @author Grégory Mantelet (CDS;ARI) * @version 1.3 (10/2014) */ public interface ADQLOperand extends ADQLObject { /** * Tell whether this operand is numeric or not. * * @return true if this operand is numeric, false otherwise. */ public boolean isNumeric(); /** * Tell whether this operand is a string or not. * * @return true if this operand is a string, false otherwise. */ public boolean isString(); /** * Tell whether this operand is a geometrical region or not. * * @return true if this operand is a geometry, false otherwise. * * @since 1.3 */ public boolean isGeometry(); }