Class TSessionInfo

    • Field Detail

      • database

        public String database
      • start_time

        public long start_time
      • is_super

        public boolean is_super
      • metaDataMap

        public static final Map<TSessionInfo._Fields,​org.apache.thrift.meta_data.FieldMetaData> metaDataMap
    • Constructor Detail

      • TSessionInfo

        public TSessionInfo()
      • TSessionInfo

        public TSessionInfo​(String user,
                            String database,
                            long start_time,
                            boolean is_super)
      • TSessionInfo

        public TSessionInfo​(TSessionInfo other)
        Performs a deep copy on other.
    • Method Detail

      • getUser

        public String getUser()
      • unsetUser

        public void unsetUser()
      • isSetUser

        public boolean isSetUser()
        Returns true if field user is set (has been assigned a value) and false otherwise
      • setUserIsSet

        public void setUserIsSet​(boolean value)
      • getDatabase

        public String getDatabase()
      • unsetDatabase

        public void unsetDatabase()
      • isSetDatabase

        public boolean isSetDatabase()
        Returns true if field database is set (has been assigned a value) and false otherwise
      • setDatabaseIsSet

        public void setDatabaseIsSet​(boolean value)
      • getStart_time

        public long getStart_time()
      • setStart_time

        public TSessionInfo setStart_time​(long start_time)
      • unsetStart_time

        public void unsetStart_time()
      • isSetStart_time

        public boolean isSetStart_time()
        Returns true if field start_time is set (has been assigned a value) and false otherwise
      • setStart_timeIsSet

        public void setStart_timeIsSet​(boolean value)
      • isIs_super

        public boolean isIs_super()
      • setIs_super

        public TSessionInfo setIs_super​(boolean is_super)
      • unsetIs_super

        public void unsetIs_super()
      • isSetIs_super

        public boolean isSetIs_super()
        Returns true if field is_super is set (has been assigned a value) and false otherwise
      • setIs_superIsSet

        public void setIs_superIsSet​(boolean value)
      • isSet

        public boolean isSet​(TSessionInfo._Fields field)
        Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
        Specified by:
        isSet in interface org.apache.thrift.TBase<TSessionInfo,​TSessionInfo._Fields>
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • read

        public void read​(org.apache.thrift.protocol.TProtocol iprot)
                  throws org.apache.thrift.TException
        Specified by:
        read in interface org.apache.thrift.TSerializable
        Throws:
        org.apache.thrift.TException
      • write

        public void write​(org.apache.thrift.protocol.TProtocol oprot)
                   throws org.apache.thrift.TException
        Specified by:
        write in interface org.apache.thrift.TSerializable
        Throws:
        org.apache.thrift.TException
      • validate

        public void validate()
                      throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException