> ## 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.

# getRecordsFromCollectionRaw

<div className="kinetica-javadoc">
  <ul className="member-list">
    <li>
      <div className="section detail" id="getRecordsFromCollectionRaw(com.gpudb.protocol.GetRecordsFromCollectionRequest)">
        <h3>getRecordsFromCollectionRaw</h3>
        <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="/content/api/java/com/gpudb/protocol/RawGetRecordsFromCollectionResponse" title="class in com.gpudb.protocol">RawGetRecordsFromCollectionResponse</a></span> <span className="element-name">getRecordsFromCollectionRaw</span><wbr /><span className="parameters">(<a href="/content/api/java/com/gpudb/protocol/GetRecordsFromCollectionRequest" title="class in com.gpudb.protocol">GetRecordsFromCollectionRequest</a> request)</span> throws <span className="exceptions"><a href="/content/api/java/com/gpudb/GPUdbException" title="class in com.gpudb">GPUdbException</a></span></div>

        <div className="block">
          Retrieves records from a collection. The operation can optionally return the record IDs which can be used in certain queries such as <a href="#deleteRecords(com.gpudb.protocol.DeleteRecordsRequest)"><code>deleteRecords</code></a>.
          <p> This operation supports paging through the data via the <a href="/content/api/java/com/gpudb/protocol/GetRecordsFromCollectionRequest#getOffset()"><code>offset</code></a> and <a href="/content/api/java/com/gpudb/protocol/GetRecordsFromCollectionRequest#getLimit()"><code>limit</code></a> parameters. </p>
          <p> Note that when using the Java API, it is not possible to retrieve records from join views using this operation. (DEPRECATED)</p>
        </div>

        <div className="dl notes">
          <div className="dt">Parameters:</div>
          <div className="dd"><code>request</code> - <a href="/content/api/java/com/gpudb/protocol/GetRecordsFromCollectionRequest" title="class in com.gpudb.protocol"><code>Request</code></a> object containing the parameters for the operation.</div>
          <div className="dt">Returns:</div>
          <div className="dd"><a href="/content/api/java/com/gpudb/protocol/RawGetRecordsFromCollectionResponse" title="class in com.gpudb.protocol"><code>Response</code></a> object containing the results of the operation.</div>
          <div className="dt">Throws:</div>
          <div className="dd"><code><a href="/content/api/java/com/gpudb/GPUdbException" title="class in com.gpudb">GPUdbException</a></code> - if an error occurs during the operation.</div>
        </div>
      </div>
    </li>
  </ul>
</div>
