Skip to content
Snippets Groups Projects
Select Git revision
  • 3f8f82185e3cf33db32fecacf31296ba904350f7
  • dev default protected
  • new_pvl_core
  • 8.0-test
  • lts-testing
  • revert-5695-ideal_serial
  • 9.0
  • 9.0.0_RC2
  • 8.0
  • 8.0.5_LTS
  • code8.3.0
  • 9.0.0
  • 9.0.0_RC1
  • gdal_pvl
  • Kelvinrr-patch-3
  • Kelvinrr-patch-2
  • 8.3
  • pvl_core
  • 8.2
  • 8.1
  • Kelvinrr-patch-1
  • 8.0.4
  • 8.3.0
  • 8.2.0
  • 8.1.0
  • 8.0.3
  • 8.0.2
  • 8.0.1
  • 8.0.0
  • 8.1.0_RC2
  • 8.1.0_RC1
  • 8.0.0_RC2
  • 8.0.0_RC1
  • 7.2.0
  • 7.1.0
  • 7.0.0
  • 7.2.0_RC1
  • 7.1.0_RC1
  • 7.0.0_RC2
  • 7.0.0_RC1
  • 6.0.0
41 results

KernelDb.h

Blame
  • ADQLOperand.java 1.78 KiB
    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 <http://www.gnu.org/licenses/>.
     * 
     * Copyright 2012,2014 - UDS/Centre de Données astronomiques de Strasbourg (CDS),
     *                       Astronomisches Rechen Institut (ARI)
     */
    
    import adql.query.ADQLObject;
    
    /**
     * <p>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.</p>
     * 
     * @author Gr&eacute;gory Mantelet (CDS;ARI)
     * @version 1.3 (10/2014)
     */
    public interface ADQLOperand extends ADQLObject {
    
    	/**
    	 * Tell whether this operand is numeric or not.
    	 * 
    	 * @return	<i>true</i> if this operand is numeric, <i>false</i> otherwise.
    	 */
    	public boolean isNumeric();
    
    	/**
    	 * Tell whether this operand is a string or not.
    	 * 
    	 * @return	<i>true</i> if this operand is a string, <i>false</i> otherwise.
    	 */
    	public boolean isString();
    
    	/**
    	 * Tell whether this operand is a geometrical region or not.
    	 * 
    	 * @return	<i>true</i> if this operand is a geometry, <i>false</i> otherwise.
    	 * 
    	 * @since 1.3
    	 */
    	public boolean isGeometry();
    
    }