Class QueryBand


  • public class QueryBand
    extends Object
    Thread local table that holds transaction local query bands.
    Author:
    Justin Deoliveira, OpenGeo
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String APPLICATION
      Session query band for name of application.
      static String CLIENT_HOST
      Local query band for host name executing request.
      static String CLIENT_USER
      Local query band for user name executing request.
      static String LAYER
      Local query band for layer being worked against.
      static String PROCESS
      Local query band for type of statement, SELECT, DELETE, etc...
    • Constructor Summary

      Constructors 
      Constructor Description
      QueryBand()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Map<String,​String> local()
      Returns local query band map.
      static void remove()
      Clears the local query band thread local.
      • Methods inherited from class Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • APPLICATION

        public static String APPLICATION
        Session query band for name of application.
      • CLIENT_USER

        public static String CLIENT_USER
        Local query band for user name executing request.
      • CLIENT_HOST

        public static String CLIENT_HOST
        Local query band for host name executing request.
      • LAYER

        public static String LAYER
        Local query band for layer being worked against.
      • PROCESS

        public static String PROCESS
        Local query band for type of statement, SELECT, DELETE, etc...
    • Constructor Detail

      • QueryBand

        public QueryBand()
    • Method Detail

      • local

        public static Map<String,​String> local()
        Returns local query band map.
      • remove

        public static void remove()
        Clears the local query band thread local.