Class Function


  • public class Function
    extends Object
    Function Definition of functions used in the QueryDialog
    Version:
    0.2 (16 Oct 2005)
    Author:
    Michaël MICHAUD
    • Field Detail

      • type

        public char type
        Returned type : B=boolean, N=numeric, S=string, E=enumeration, G=geometric
      • args

        public int[] args
        Option function arguments (used for substring)
      • arg

        public double arg
        Optional function double argument (used for buffer)
      • ISNULL

        public static final Function ISNULL
      • BNOF

        public static final Function BNOF
      • DDAY

        public static final Function DDAY
      • DYEA

        public static final Function DYEA
      • DNOF

        public static final Function DNOF
      • NNOF

        public static final Function NNOF
      • SNOF

        public static final Function SNOF
      • TRIM

        public static final Function TRIM
      • SUBS

        public static final Function SUBS
      • LENG

        public static final Function LENG
      • GNOF

        public static final Function GNOF
      • AREA

        public static final Function AREA
      • NBPT

        public static final Function NBPT
      • NBPA

        public static final Function NBPA
      • BUFF

        public static final Function BUFF
      • CENT

        public static final Function CENT
      • EMPT

        public static final Function EMPT
      • SIMP

        public static final Function SIMP
      • VALI

        public static final Function VALI
      • BOOLEAN_FUNCTIONS

        public static Function[] BOOLEAN_FUNCTIONS
        Functions to be applied to Boolean attributes (currently not possible)
      • DATE_FUNCTIONS

        public static Function[] DATE_FUNCTIONS
        Functions to be applied to Date attributes (currently not possible)
      • NUMERIC_FUNCTIONS

        public static Function[] NUMERIC_FUNCTIONS
        Functions to be applied to numeric attributes
      • STRING_FUNCTIONS

        public static Function[] STRING_FUNCTIONS
        Functions to be applied to String attributes
      • GEOMETRIC_FUNCTIONS

        public static Function[] GEOMETRIC_FUNCTIONS
        Functions to be applied to Geometry attributes
    • Constructor Detail

      • Function

        public Function​(String key,
                        char type)
      • Function

        public Function​(String key,
                        char type,
                        int[] args)
      • Function

        public Function​(String key,
                        char type,
                        double arg)