> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# DropSessionResponse

> DropSessionResponse — Kinetica Java API

Package [com.gpudb.protocol](https://docs.kinetica.com/content/api/java/com/gpudb/protocol/package-summary.md)

# Class DropSessionResponse

[java.lang.Object](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html)
com.gpudb.protocol.DropSessionResponse

All Implemented Interfaces:`org.apache.avro.generic.GenericContainer`, `org.apache.avro.generic.IndexedRecord`

***

public class DropSessionResponse extends [Object](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html) implements org.apache.avro.generic.IndexedRecordA set of results returned by [`GPUdb.dropSession`](https://docs.kinetica.com/content/api/java/com/gpudb/GPUdb/dropsession#dropSession\(com.gpudb.protocol.DropSessionRequest\)).

<ul>
  <li>
    ## Constructor Summary

    Constructors

    ConstructorDescription`DropSessionResponse()`

    Constructs a DropSessionResponse object with default parameters.
  </li>

  <li>
    ## Method Summary

    All MethodsStatic MethodsInstance MethodsConcrete Methods

    Modifier and TypeMethodDescription`boolean``equals(Object obj)` `Object``get(int index)`

    This method supports the Avro framework and is not intended to be called directly by the user.

    `static org.apache.avro.Schema``getClassSchema()`

    This method supports the Avro framework and is not intended to be called directly by the user.

    `Map<String,String>``getInfo()`

    Additional information.

    `org.apache.avro.Schema``getSchema()`

    This method supports the Avro framework and is not intended to be called directly by the user.

    `String``getSessionId()`

    ID of the session dropped, from the X-Kinetica-Session HTTP header.

    `int``hashCode()` `void``put(int index, Object value)`

    This method supports the Avro framework and is not intended to be called directly by the user.

    `DropSessionResponse``setInfo(Map<String,String> info)`

    Additional information.

    `DropSessionResponse``setSessionId(String sessionId)`

    ID of the session dropped, from the X-Kinetica-Session HTTP header.

    `String``toString()` 

    Methods inherited from class java.lang.[Object](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html)
    `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`
  </li>
</ul>

<ul>
  <li>
    ## Constructor Details

    <ul>
      <li>
        ### DropSessionResponse

        public DropSessionResponse()Constructs a DropSessionResponse object with default parameters.
      </li>
    </ul>
  </li>

  <li>
    ## Method Details

    <ul>
      <li>
        ### getClassSchema

        public static org.apache.avro.Schema getClassSchema()This method supports the Avro framework and is not intended to be called directly by the user.

        Returns:The schema for the class.
      </li>

      <li>
        ### getSessionId

        public [String](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html) getSessionId()ID of the session dropped, from the X-Kinetica-Session HTTP header.

        Returns:The current value of `sessionId`.
      </li>

      <li>
        ### setSessionId

        public [DropSessionResponse](https://docs.kinetica.com/content/api/java/com/gpudb/protocol/DropSessionResponse.md) setSessionId<wbr />([String](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html) sessionId)ID of the session dropped, from the X-Kinetica-Session HTTP header.

        Parameters:`sessionId` - The new value for `sessionId`.Returns:`this` to mimic the builder pattern.
      </li>

      <li>
        ### getInfo

        public [Map](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html)\<[String](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html),<wbr />[String](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html)> getInfo()Additional information.

        Returns:The current value of `info`.
      </li>

      <li>
        ### setInfo

        public [DropSessionResponse](https://docs.kinetica.com/content/api/java/com/gpudb/protocol/DropSessionResponse.md) setInfo<wbr />([Map](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html)\<[String](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html),<wbr />[String](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html)> info)Additional information.

        Parameters:`info` - The new value for `info`.Returns:`this` to mimic the builder pattern.
      </li>

      <li>
        ### getSchema

        public org.apache.avro.Schema getSchema()This method supports the Avro framework and is not intended to be called directly by the user.

        Specified by:`getSchema` in interface `org.apache.avro.generic.GenericContainer`Returns:The schema object describing this class.
      </li>

      <li>
        ### get

        public [Object](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html) get<wbr />(int index)This method supports the Avro framework and is not intended to be called directly by the user.

        Specified by:`get` in interface `org.apache.avro.generic.IndexedRecord`Parameters:`index` - the position of the field to getReturns:value of the field with the given index.Throws:`IndexOutOfBoundsException`
      </li>

      <li>
        ### put

        public void put<wbr />(int index, [Object](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html) value)This method supports the Avro framework and is not intended to be called directly by the user.

        Specified by:`put` in interface `org.apache.avro.generic.IndexedRecord`Parameters:`index` - the position of the field to set`value` - the value to setThrows:`IndexOutOfBoundsException`
      </li>

      <li>
        ### equals

        public boolean equals<wbr />([Object](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html) obj)

        Overrides:`equals` in class `Object`
      </li>

      <li>
        ### toString

        public [String](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html) toString()

        Overrides:`toString` in class `Object`
      </li>

      <li>
        ### hashCode

        public int hashCode()

        Overrides:`hashCode` in class `Object`
      </li>
    </ul>
  </li>
</ul>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.