# types

<div class="jsdoc-content"><header>
    
        
    
</header>


    
        

        
    
    

    

    

    
        </div>

## Classes

<div class="jsdoc-content">

        <dl>
            <dt><a href="BigDecimal.html">BigDecimal</a></dt>
            <dd></dd>
        
            <dt><a href="Duration.html">Duration</a></dt>
            <dd></dd>
        
            <dt><a href="InetAddress.html">InetAddress</a></dt>
            <dd></dd>
        
            <dt><a href="Integer.html">Integer</a></dt>
            <dd></dd>
        
            <dt><a href="LocalDate.html">LocalDate</a></dt>
            <dd></dd>
        
            <dt><a href="index.html#~LocalTime">LocalTime</a></dt>
            <dd></dd>
        
            <dt><a href="ResultStream.html">ResultStream</a></dt>
            <dd></dd>
        
            <dt><a href="Row.html">Row</a></dt>
            <dd></dd>
        
            <dt><a href="TimeUuid.html">TimeUuid</a></dt>
            <dd></dd>
        
            <dt><a href="Tuple.html">Tuple</a></dt>
            <dd></dd>
        
            <dt><a href="Uuid.html">Uuid</a></dt>
            <dd></dd>
        </dl>
    

    

    

    

    
        </div>

## Members

<div class="jsdoc-content">

        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the hour component of the time represented by the current instance, a number from 0 to 23.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L51" target="_blank" rel="noopener">types/local-time.ts, line 51</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the minute component of the time represented by the current instance, a number from 0 to 59.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L55" target="_blank" rel="noopener">types/local-time.ts, line 55</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the second component of the time represented by the current instance, a number from 0 to 59.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L59" target="_blank" rel="noopener">types/local-time.ts, line 59</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the nanoseconds component of the time represented by the current instance, a number from 0 to 999999999.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L63" target="_blank" rel="noopener">types/local-time.ts, line 63</a></p></div>






        
            
<h3 class="name" id="~Long"><span class="type-signature">(inner, constant) </span>Long<span class="type-signature"></span></h3>




<div class="description">
    <p>Long constructor, wrapper of the internal library used: <a href="https://github.com/dcodeIO/long.js">Long.js</a>.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L14" target="_blank" rel="noopener">types/index.ts, line 14</a></p></div>






        
            
<h3 class="name" id="~consistencies"><span class="type-signature">(inner) </span>consistencies<span class="type-signature"></span></h3>




<div class="description">
    <p>Consistency levels</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L27" target="_blank" rel="noopener">types/index.ts, line 27</a></p></div>






        
            
<h3 class="name" id="~consistencyToString"><span class="type-signature">(inner, constant) </span>consistencyToString<span class="type-signature"></span></h3>




<div class="description">
    <p>Mapping of consistency level codes to their string representation.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L80" target="_blank" rel="noopener">types/index.ts, line 80</a></p></div>






        
            
<h3 class="name" id="~dataTypes"><span class="type-signature">(inner) </span>dataTypes<span class="type-signature"></span></h3>




<div class="description">
    <p>CQL data types</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L122" target="_blank" rel="noopener">types/index.ts, line 122</a></p></div>






        
            
<h3 class="name" id="~dateCenter"><span class="type-signature">(inner, constant) </span>dateCenter<span class="type-signature"></span></h3>




<div class="description">
    <p>2^31 days before unix epoch is -5877641-06-23. This is the first day that can be represented by this class.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-date.ts#L9" target="_blank" rel="noopener">types/local-date.ts, line 9</a></p></div>






        
            
<h3 class="name" id="~distance"><span class="type-signature">(inner) </span>distance<span class="type-signature"></span></h3>




<div class="description">
    <p>Represents the distance of Cassandra node as assigned by a LoadBalancingPolicy relatively to the driver instance.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L269" target="_blank" rel="noopener">types/index.ts, line 269</a></p></div>






        
            
<h3 class="name" id="~logLevels"><span class="type-signature">(inner) </span>logLevels<span class="type-signature"></span></h3>




<div class="description">
    <p>Log level values used for the <code>logLevel</code> client option and emitted in <code>'log'</code> events.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L281" target="_blank" rel="noopener">types/index.ts, line 281</a></p></div>






        
            
<h3 class="name" id="~longAny"><span class="type-signature">(inner, constant) </span>longAny<span class="type-signature"></span></h3>




<div class="description">
    <p>The <code>long</code> library is not augmentable through <code>declare module</code>, and its own
typings naturally don't know about the statics and prototype methods the
driver installs on it below, so they are attached through an untyped view of
it. They were not part of the hand-written declarations either.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L22" target="_blank" rel="noopener">types/index.ts, line 22</a></p></div>






        
            
<h3 class="name" id="~protocolVersion"><span class="type-signature">(inner) </span>protocolVersion<span class="type-signature"></span></h3>




<div class="description">
    <p>Contains information for the different protocol versions supported by the driver.</p>
<p>Strict equality operators to compare versions are allowed, other comparison operators are discouraged. Instead,
use a function that checks if a functionality is present on a certain version, for maintainability purposes.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/protocol-version.ts#L21" target="_blank" rel="noopener">types/protocol-version.ts, line 21</a></p></div>






        
            
<h3 class="name" id="~responseErrorCodes"><span class="type-signature">(inner) </span>responseErrorCodes<span class="type-signature"></span></h3>




<div class="description">
    <p>Server error codes returned by Cassandra</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L299" target="_blank" rel="noopener">types/index.ts, line 299</a></p></div>






        
            
<h3 class="name" id="~unset"><span class="type-signature">(inner, constant) </span>unset<span class="type-signature"></span></h3>




<div class="description">
    <p>Unset representation.</p>
<p>Use this field if you want to set a parameter to <code>unset</code>. Valid for Cassandra 2.2 and above.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L352" target="_blank" rel="noopener">types/index.ts, line 352</a></p></div>






        
    

    
        </div>

## Methods

<div class="jsdoc-content">

        
            

    

    
    <h3 class="name" id="~generateTimestamp"><span class="type-signature">(inner) </span>generateTimestamp<span class="signature">(date, microseconds)</span><span class="type-signature"></span></h3>
    

    



<div class="description">
    <p>Generates a value representing the timestamp for the query in microseconds based on the date and the microseconds provided</p>
</div>









    <h4>Parameters:</h4>
    

<table class="params docutils align-default">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>date</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>The date to generate the value, if not provided it will use the current date.</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>microseconds</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>A number from 0 to 999 used to build the microseconds part of the date.</p></td>
        </tr>

    
    </tbody>
</table>






<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L547" target="_blank" rel="noopener">types/index.ts, line 547</a></p></div>




















        
            

    

    
    <h3 class="name" id="~splitTypeArgs"><span class="type-signature">(inner) </span>splitTypeArgs<span class="signature">(args)</span><span class="type-signature"></span></h3>
    

    



<div class="description">
    <p>Splits the comma separated arguments of a parameterized type name, ignoring
the commas that belong to the arguments themselves.</p>
</div>









    <h4>Parameters:</h4>
    

<table class="params docutils align-default">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>args</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>Everything between the outermost angle brackets.</p></td>
        </tr>

    
    </tbody>
</table>






<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L100" target="_blank" rel="noopener">types/index.ts, line 100</a></p></div>















<h4>Returns:</h4>

        
<div class="param-desc">
    <p>The arguments, trimmed.</p>
</div>







<header>
    
        
    
</header>


    
        

        
    
    

    

    

    
        </div>

## Classes

<div class="jsdoc-content">

        <dl>
            <dt><a href="BigDecimal.html">BigDecimal</a></dt>
            <dd></dd>
        
            <dt><a href="Duration.html">Duration</a></dt>
            <dd></dd>
        
            <dt><a href="InetAddress.html">InetAddress</a></dt>
            <dd></dd>
        
            <dt><a href="Integer.html">Integer</a></dt>
            <dd></dd>
        
            <dt><a href="LocalDate.html">LocalDate</a></dt>
            <dd></dd>
        
            <dt><a href="index.html#~LocalTime">LocalTime</a></dt>
            <dd></dd>
        
            <dt><a href="ResultStream.html">ResultStream</a></dt>
            <dd></dd>
        
            <dt><a href="Row.html">Row</a></dt>
            <dd></dd>
        
            <dt><a href="TimeUuid.html">TimeUuid</a></dt>
            <dd></dd>
        
            <dt><a href="Tuple.html">Tuple</a></dt>
            <dd></dd>
        
            <dt><a href="Uuid.html">Uuid</a></dt>
            <dd></dd>
        </dl>
    

    

    

    

    
        </div>

## Members

<div class="jsdoc-content">

        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the hour component of the time represented by the current instance, a number from 0 to 23.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L51" target="_blank" rel="noopener">types/local-time.ts, line 51</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the minute component of the time represented by the current instance, a number from 0 to 59.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L55" target="_blank" rel="noopener">types/local-time.ts, line 55</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the second component of the time represented by the current instance, a number from 0 to 59.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L59" target="_blank" rel="noopener">types/local-time.ts, line 59</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the nanoseconds component of the time represented by the current instance, a number from 0 to 999999999.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L63" target="_blank" rel="noopener">types/local-time.ts, line 63</a></p></div>






        
            
<h3 class="name" id="~Long"><span class="type-signature">(inner, constant) </span>Long<span class="type-signature"></span></h3>




<div class="description">
    <p>Long constructor, wrapper of the internal library used: <a href="https://github.com/dcodeIO/long.js">Long.js</a>.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L14" target="_blank" rel="noopener">types/index.ts, line 14</a></p></div>






        
            
<h3 class="name" id="~consistencies"><span class="type-signature">(inner) </span>consistencies<span class="type-signature"></span></h3>




<div class="description">
    <p>Consistency levels</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L27" target="_blank" rel="noopener">types/index.ts, line 27</a></p></div>






        
            
<h3 class="name" id="~consistencyToString"><span class="type-signature">(inner, constant) </span>consistencyToString<span class="type-signature"></span></h3>




<div class="description">
    <p>Mapping of consistency level codes to their string representation.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L80" target="_blank" rel="noopener">types/index.ts, line 80</a></p></div>






        
            
<h3 class="name" id="~dataTypes"><span class="type-signature">(inner) </span>dataTypes<span class="type-signature"></span></h3>




<div class="description">
    <p>CQL data types</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L122" target="_blank" rel="noopener">types/index.ts, line 122</a></p></div>






        
            
<h3 class="name" id="~dateCenter"><span class="type-signature">(inner, constant) </span>dateCenter<span class="type-signature"></span></h3>




<div class="description">
    <p>2^31 days before unix epoch is -5877641-06-23. This is the first day that can be represented by this class.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-date.ts#L9" target="_blank" rel="noopener">types/local-date.ts, line 9</a></p></div>






        
            
<h3 class="name" id="~distance"><span class="type-signature">(inner) </span>distance<span class="type-signature"></span></h3>




<div class="description">
    <p>Represents the distance of Cassandra node as assigned by a LoadBalancingPolicy relatively to the driver instance.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L269" target="_blank" rel="noopener">types/index.ts, line 269</a></p></div>






        
            
<h3 class="name" id="~logLevels"><span class="type-signature">(inner) </span>logLevels<span class="type-signature"></span></h3>




<div class="description">
    <p>Log level values used for the <code>logLevel</code> client option and emitted in <code>'log'</code> events.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L281" target="_blank" rel="noopener">types/index.ts, line 281</a></p></div>






        
            
<h3 class="name" id="~longAny"><span class="type-signature">(inner, constant) </span>longAny<span class="type-signature"></span></h3>




<div class="description">
    <p>The <code>long</code> library is not augmentable through <code>declare module</code>, and its own
typings naturally don't know about the statics and prototype methods the
driver installs on it below, so they are attached through an untyped view of
it. They were not part of the hand-written declarations either.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L22" target="_blank" rel="noopener">types/index.ts, line 22</a></p></div>






        
            
<h3 class="name" id="~protocolVersion"><span class="type-signature">(inner) </span>protocolVersion<span class="type-signature"></span></h3>




<div class="description">
    <p>Contains information for the different protocol versions supported by the driver.</p>
<p>Strict equality operators to compare versions are allowed, other comparison operators are discouraged. Instead,
use a function that checks if a functionality is present on a certain version, for maintainability purposes.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/protocol-version.ts#L21" target="_blank" rel="noopener">types/protocol-version.ts, line 21</a></p></div>






        
            
<h3 class="name" id="~responseErrorCodes"><span class="type-signature">(inner) </span>responseErrorCodes<span class="type-signature"></span></h3>




<div class="description">
    <p>Server error codes returned by Cassandra</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L299" target="_blank" rel="noopener">types/index.ts, line 299</a></p></div>






        
            
<h3 class="name" id="~unset"><span class="type-signature">(inner, constant) </span>unset<span class="type-signature"></span></h3>




<div class="description">
    <p>Unset representation.</p>
<p>Use this field if you want to set a parameter to <code>unset</code>. Valid for Cassandra 2.2 and above.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L352" target="_blank" rel="noopener">types/index.ts, line 352</a></p></div>






        
    

    
        </div>

## Methods

<div class="jsdoc-content">

        
            

    

    
    <h3 class="name" id="~generateTimestamp"><span class="type-signature">(inner) </span>generateTimestamp<span class="signature">(date, microseconds)</span><span class="type-signature"></span></h3>
    

    



<div class="description">
    <p>Generates a value representing the timestamp for the query in microseconds based on the date and the microseconds provided</p>
</div>









    <h4>Parameters:</h4>
    

<table class="params docutils align-default">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>date</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>The date to generate the value, if not provided it will use the current date.</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>microseconds</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>A number from 0 to 999 used to build the microseconds part of the date.</p></td>
        </tr>

    
    </tbody>
</table>






<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L547" target="_blank" rel="noopener">types/index.ts, line 547</a></p></div>




















        
            

    

    
    <h3 class="name" id="~splitTypeArgs"><span class="type-signature">(inner) </span>splitTypeArgs<span class="signature">(args)</span><span class="type-signature"></span></h3>
    

    



<div class="description">
    <p>Splits the comma separated arguments of a parameterized type name, ignoring
the commas that belong to the arguments themselves.</p>
</div>









    <h4>Parameters:</h4>
    

<table class="params docutils align-default">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>args</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>Everything between the outermost angle brackets.</p></td>
        </tr>

    
    </tbody>
</table>






<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L100" target="_blank" rel="noopener">types/index.ts, line 100</a></p></div>















<h4>Returns:</h4>

        
<div class="param-desc">
    <p>The arguments, trimmed.</p>
</div>







<header>
    
        
    
</header>


    
        

        
    
    

    

    

    
        </div>

## Classes

<div class="jsdoc-content">

        <dl>
            <dt><a href="BigDecimal.html">BigDecimal</a></dt>
            <dd></dd>
        
            <dt><a href="Duration.html">Duration</a></dt>
            <dd></dd>
        
            <dt><a href="InetAddress.html">InetAddress</a></dt>
            <dd></dd>
        
            <dt><a href="Integer.html">Integer</a></dt>
            <dd></dd>
        
            <dt><a href="LocalDate.html">LocalDate</a></dt>
            <dd></dd>
        
            <dt><a href="index.html#~LocalTime">LocalTime</a></dt>
            <dd></dd>
        
            <dt><a href="ResultStream.html">ResultStream</a></dt>
            <dd></dd>
        
            <dt><a href="Row.html">Row</a></dt>
            <dd></dd>
        
            <dt><a href="TimeUuid.html">TimeUuid</a></dt>
            <dd></dd>
        
            <dt><a href="Tuple.html">Tuple</a></dt>
            <dd></dd>
        
            <dt><a href="Uuid.html">Uuid</a></dt>
            <dd></dd>
        </dl>
    

    

    

    

    
        </div>

## Members

<div class="jsdoc-content">

        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the hour component of the time represented by the current instance, a number from 0 to 23.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L51" target="_blank" rel="noopener">types/local-time.ts, line 51</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the minute component of the time represented by the current instance, a number from 0 to 59.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L55" target="_blank" rel="noopener">types/local-time.ts, line 55</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the second component of the time represented by the current instance, a number from 0 to 59.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L59" target="_blank" rel="noopener">types/local-time.ts, line 59</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the nanoseconds component of the time represented by the current instance, a number from 0 to 999999999.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L63" target="_blank" rel="noopener">types/local-time.ts, line 63</a></p></div>






        
            
<h3 class="name" id="~Long"><span class="type-signature">(inner, constant) </span>Long<span class="type-signature"></span></h3>




<div class="description">
    <p>Long constructor, wrapper of the internal library used: <a href="https://github.com/dcodeIO/long.js">Long.js</a>.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L14" target="_blank" rel="noopener">types/index.ts, line 14</a></p></div>






        
            
<h3 class="name" id="~consistencies"><span class="type-signature">(inner) </span>consistencies<span class="type-signature"></span></h3>




<div class="description">
    <p>Consistency levels</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L27" target="_blank" rel="noopener">types/index.ts, line 27</a></p></div>






        
            
<h3 class="name" id="~consistencyToString"><span class="type-signature">(inner, constant) </span>consistencyToString<span class="type-signature"></span></h3>




<div class="description">
    <p>Mapping of consistency level codes to their string representation.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L80" target="_blank" rel="noopener">types/index.ts, line 80</a></p></div>






        
            
<h3 class="name" id="~dataTypes"><span class="type-signature">(inner) </span>dataTypes<span class="type-signature"></span></h3>




<div class="description">
    <p>CQL data types</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L122" target="_blank" rel="noopener">types/index.ts, line 122</a></p></div>






        
            
<h3 class="name" id="~dateCenter"><span class="type-signature">(inner, constant) </span>dateCenter<span class="type-signature"></span></h3>




<div class="description">
    <p>2^31 days before unix epoch is -5877641-06-23. This is the first day that can be represented by this class.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-date.ts#L9" target="_blank" rel="noopener">types/local-date.ts, line 9</a></p></div>






        
            
<h3 class="name" id="~distance"><span class="type-signature">(inner) </span>distance<span class="type-signature"></span></h3>




<div class="description">
    <p>Represents the distance of Cassandra node as assigned by a LoadBalancingPolicy relatively to the driver instance.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L269" target="_blank" rel="noopener">types/index.ts, line 269</a></p></div>






        
            
<h3 class="name" id="~logLevels"><span class="type-signature">(inner) </span>logLevels<span class="type-signature"></span></h3>




<div class="description">
    <p>Log level values used for the <code>logLevel</code> client option and emitted in <code>'log'</code> events.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L281" target="_blank" rel="noopener">types/index.ts, line 281</a></p></div>






        
            
<h3 class="name" id="~longAny"><span class="type-signature">(inner, constant) </span>longAny<span class="type-signature"></span></h3>




<div class="description">
    <p>The <code>long</code> library is not augmentable through <code>declare module</code>, and its own
typings naturally don't know about the statics and prototype methods the
driver installs on it below, so they are attached through an untyped view of
it. They were not part of the hand-written declarations either.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L22" target="_blank" rel="noopener">types/index.ts, line 22</a></p></div>






        
            
<h3 class="name" id="~protocolVersion"><span class="type-signature">(inner) </span>protocolVersion<span class="type-signature"></span></h3>




<div class="description">
    <p>Contains information for the different protocol versions supported by the driver.</p>
<p>Strict equality operators to compare versions are allowed, other comparison operators are discouraged. Instead,
use a function that checks if a functionality is present on a certain version, for maintainability purposes.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/protocol-version.ts#L21" target="_blank" rel="noopener">types/protocol-version.ts, line 21</a></p></div>






        
            
<h3 class="name" id="~responseErrorCodes"><span class="type-signature">(inner) </span>responseErrorCodes<span class="type-signature"></span></h3>




<div class="description">
    <p>Server error codes returned by Cassandra</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L299" target="_blank" rel="noopener">types/index.ts, line 299</a></p></div>






        
            
<h3 class="name" id="~unset"><span class="type-signature">(inner, constant) </span>unset<span class="type-signature"></span></h3>




<div class="description">
    <p>Unset representation.</p>
<p>Use this field if you want to set a parameter to <code>unset</code>. Valid for Cassandra 2.2 and above.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L352" target="_blank" rel="noopener">types/index.ts, line 352</a></p></div>






        
    

    
        </div>

## Methods

<div class="jsdoc-content">

        
            

    

    
    <h3 class="name" id="~generateTimestamp"><span class="type-signature">(inner) </span>generateTimestamp<span class="signature">(date, microseconds)</span><span class="type-signature"></span></h3>
    

    



<div class="description">
    <p>Generates a value representing the timestamp for the query in microseconds based on the date and the microseconds provided</p>
</div>









    <h4>Parameters:</h4>
    

<table class="params docutils align-default">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>date</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>The date to generate the value, if not provided it will use the current date.</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>microseconds</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>A number from 0 to 999 used to build the microseconds part of the date.</p></td>
        </tr>

    
    </tbody>
</table>






<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L547" target="_blank" rel="noopener">types/index.ts, line 547</a></p></div>




















        
            

    

    
    <h3 class="name" id="~splitTypeArgs"><span class="type-signature">(inner) </span>splitTypeArgs<span class="signature">(args)</span><span class="type-signature"></span></h3>
    

    



<div class="description">
    <p>Splits the comma separated arguments of a parameterized type name, ignoring
the commas that belong to the arguments themselves.</p>
</div>









    <h4>Parameters:</h4>
    

<table class="params docutils align-default">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>args</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>Everything between the outermost angle brackets.</p></td>
        </tr>

    
    </tbody>
</table>






<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L100" target="_blank" rel="noopener">types/index.ts, line 100</a></p></div>















<h4>Returns:</h4>

        
<div class="param-desc">
    <p>The arguments, trimmed.</p>
</div>







<header>
    
        
    
</header>


    
        

        
    
    

    

    

    
        </div>

## Classes

<div class="jsdoc-content">

        <dl>
            <dt><a href="BigDecimal.html">BigDecimal</a></dt>
            <dd></dd>
        
            <dt><a href="Duration.html">Duration</a></dt>
            <dd></dd>
        
            <dt><a href="InetAddress.html">InetAddress</a></dt>
            <dd></dd>
        
            <dt><a href="Integer.html">Integer</a></dt>
            <dd></dd>
        
            <dt><a href="LocalDate.html">LocalDate</a></dt>
            <dd></dd>
        
            <dt><a href="index.html#~LocalTime">LocalTime</a></dt>
            <dd></dd>
        
            <dt><a href="ResultStream.html">ResultStream</a></dt>
            <dd></dd>
        
            <dt><a href="Row.html">Row</a></dt>
            <dd></dd>
        
            <dt><a href="TimeUuid.html">TimeUuid</a></dt>
            <dd></dd>
        
            <dt><a href="Tuple.html">Tuple</a></dt>
            <dd></dd>
        
            <dt><a href="Uuid.html">Uuid</a></dt>
            <dd></dd>
        </dl>
    

    

    

    

    
        </div>

## Members

<div class="jsdoc-content">

        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the hour component of the time represented by the current instance, a number from 0 to 23.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L51" target="_blank" rel="noopener">types/local-time.ts, line 51</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the minute component of the time represented by the current instance, a number from 0 to 59.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L55" target="_blank" rel="noopener">types/local-time.ts, line 55</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the second component of the time represented by the current instance, a number from 0 to 59.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L59" target="_blank" rel="noopener">types/local-time.ts, line 59</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the nanoseconds component of the time represented by the current instance, a number from 0 to 999999999.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L63" target="_blank" rel="noopener">types/local-time.ts, line 63</a></p></div>






        
            
<h3 class="name" id="~Long"><span class="type-signature">(inner, constant) </span>Long<span class="type-signature"></span></h3>




<div class="description">
    <p>Long constructor, wrapper of the internal library used: <a href="https://github.com/dcodeIO/long.js">Long.js</a>.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L14" target="_blank" rel="noopener">types/index.ts, line 14</a></p></div>






        
            
<h3 class="name" id="~consistencies"><span class="type-signature">(inner) </span>consistencies<span class="type-signature"></span></h3>




<div class="description">
    <p>Consistency levels</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L27" target="_blank" rel="noopener">types/index.ts, line 27</a></p></div>






        
            
<h3 class="name" id="~consistencyToString"><span class="type-signature">(inner, constant) </span>consistencyToString<span class="type-signature"></span></h3>




<div class="description">
    <p>Mapping of consistency level codes to their string representation.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L80" target="_blank" rel="noopener">types/index.ts, line 80</a></p></div>






        
            
<h3 class="name" id="~dataTypes"><span class="type-signature">(inner) </span>dataTypes<span class="type-signature"></span></h3>




<div class="description">
    <p>CQL data types</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L122" target="_blank" rel="noopener">types/index.ts, line 122</a></p></div>






        
            
<h3 class="name" id="~dateCenter"><span class="type-signature">(inner, constant) </span>dateCenter<span class="type-signature"></span></h3>




<div class="description">
    <p>2^31 days before unix epoch is -5877641-06-23. This is the first day that can be represented by this class.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-date.ts#L9" target="_blank" rel="noopener">types/local-date.ts, line 9</a></p></div>






        
            
<h3 class="name" id="~distance"><span class="type-signature">(inner) </span>distance<span class="type-signature"></span></h3>




<div class="description">
    <p>Represents the distance of Cassandra node as assigned by a LoadBalancingPolicy relatively to the driver instance.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L269" target="_blank" rel="noopener">types/index.ts, line 269</a></p></div>






        
            
<h3 class="name" id="~logLevels"><span class="type-signature">(inner) </span>logLevels<span class="type-signature"></span></h3>




<div class="description">
    <p>Log level values used for the <code>logLevel</code> client option and emitted in <code>'log'</code> events.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L281" target="_blank" rel="noopener">types/index.ts, line 281</a></p></div>






        
            
<h3 class="name" id="~longAny"><span class="type-signature">(inner, constant) </span>longAny<span class="type-signature"></span></h3>




<div class="description">
    <p>The <code>long</code> library is not augmentable through <code>declare module</code>, and its own
typings naturally don't know about the statics and prototype methods the
driver installs on it below, so they are attached through an untyped view of
it. They were not part of the hand-written declarations either.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L22" target="_blank" rel="noopener">types/index.ts, line 22</a></p></div>






        
            
<h3 class="name" id="~protocolVersion"><span class="type-signature">(inner) </span>protocolVersion<span class="type-signature"></span></h3>




<div class="description">
    <p>Contains information for the different protocol versions supported by the driver.</p>
<p>Strict equality operators to compare versions are allowed, other comparison operators are discouraged. Instead,
use a function that checks if a functionality is present on a certain version, for maintainability purposes.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/protocol-version.ts#L21" target="_blank" rel="noopener">types/protocol-version.ts, line 21</a></p></div>






        
            
<h3 class="name" id="~responseErrorCodes"><span class="type-signature">(inner) </span>responseErrorCodes<span class="type-signature"></span></h3>




<div class="description">
    <p>Server error codes returned by Cassandra</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L299" target="_blank" rel="noopener">types/index.ts, line 299</a></p></div>






        
            
<h3 class="name" id="~unset"><span class="type-signature">(inner, constant) </span>unset<span class="type-signature"></span></h3>




<div class="description">
    <p>Unset representation.</p>
<p>Use this field if you want to set a parameter to <code>unset</code>. Valid for Cassandra 2.2 and above.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L352" target="_blank" rel="noopener">types/index.ts, line 352</a></p></div>






        
    

    
        </div>

## Methods

<div class="jsdoc-content">

        
            

    

    
    <h3 class="name" id="~generateTimestamp"><span class="type-signature">(inner) </span>generateTimestamp<span class="signature">(date, microseconds)</span><span class="type-signature"></span></h3>
    

    



<div class="description">
    <p>Generates a value representing the timestamp for the query in microseconds based on the date and the microseconds provided</p>
</div>









    <h4>Parameters:</h4>
    

<table class="params docutils align-default">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>date</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>The date to generate the value, if not provided it will use the current date.</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>microseconds</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>A number from 0 to 999 used to build the microseconds part of the date.</p></td>
        </tr>

    
    </tbody>
</table>






<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L547" target="_blank" rel="noopener">types/index.ts, line 547</a></p></div>




















        
            

    

    
    <h3 class="name" id="~splitTypeArgs"><span class="type-signature">(inner) </span>splitTypeArgs<span class="signature">(args)</span><span class="type-signature"></span></h3>
    

    



<div class="description">
    <p>Splits the comma separated arguments of a parameterized type name, ignoring
the commas that belong to the arguments themselves.</p>
</div>









    <h4>Parameters:</h4>
    

<table class="params docutils align-default">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>args</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>Everything between the outermost angle brackets.</p></td>
        </tr>

    
    </tbody>
</table>






<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L100" target="_blank" rel="noopener">types/index.ts, line 100</a></p></div>















<h4>Returns:</h4>

        
<div class="param-desc">
    <p>The arguments, trimmed.</p>
</div>







<header>
    
        
    
</header>


    
        

        
    
    

    

    

    
        </div>

## Classes

<div class="jsdoc-content">

        <dl>
            <dt><a href="BigDecimal.html">BigDecimal</a></dt>
            <dd></dd>
        
            <dt><a href="Duration.html">Duration</a></dt>
            <dd></dd>
        
            <dt><a href="InetAddress.html">InetAddress</a></dt>
            <dd></dd>
        
            <dt><a href="Integer.html">Integer</a></dt>
            <dd></dd>
        
            <dt><a href="LocalDate.html">LocalDate</a></dt>
            <dd></dd>
        
            <dt><a href="index.html#~LocalTime">LocalTime</a></dt>
            <dd></dd>
        
            <dt><a href="ResultStream.html">ResultStream</a></dt>
            <dd></dd>
        
            <dt><a href="Row.html">Row</a></dt>
            <dd></dd>
        
            <dt><a href="TimeUuid.html">TimeUuid</a></dt>
            <dd></dd>
        
            <dt><a href="Tuple.html">Tuple</a></dt>
            <dd></dd>
        
            <dt><a href="Uuid.html">Uuid</a></dt>
            <dd></dd>
        </dl>
    

    

    

    

    
        </div>

## Members

<div class="jsdoc-content">

        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the hour component of the time represented by the current instance, a number from 0 to 23.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L51" target="_blank" rel="noopener">types/local-time.ts, line 51</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the minute component of the time represented by the current instance, a number from 0 to 59.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L55" target="_blank" rel="noopener">types/local-time.ts, line 55</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the second component of the time represented by the current instance, a number from 0 to 59.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L59" target="_blank" rel="noopener">types/local-time.ts, line 59</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the nanoseconds component of the time represented by the current instance, a number from 0 to 999999999.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L63" target="_blank" rel="noopener">types/local-time.ts, line 63</a></p></div>






        
            
<h3 class="name" id="~Long"><span class="type-signature">(inner, constant) </span>Long<span class="type-signature"></span></h3>




<div class="description">
    <p>Long constructor, wrapper of the internal library used: <a href="https://github.com/dcodeIO/long.js">Long.js</a>.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L14" target="_blank" rel="noopener">types/index.ts, line 14</a></p></div>






        
            
<h3 class="name" id="~consistencies"><span class="type-signature">(inner) </span>consistencies<span class="type-signature"></span></h3>




<div class="description">
    <p>Consistency levels</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L27" target="_blank" rel="noopener">types/index.ts, line 27</a></p></div>






        
            
<h3 class="name" id="~consistencyToString"><span class="type-signature">(inner, constant) </span>consistencyToString<span class="type-signature"></span></h3>




<div class="description">
    <p>Mapping of consistency level codes to their string representation.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L80" target="_blank" rel="noopener">types/index.ts, line 80</a></p></div>






        
            
<h3 class="name" id="~dataTypes"><span class="type-signature">(inner) </span>dataTypes<span class="type-signature"></span></h3>




<div class="description">
    <p>CQL data types</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L122" target="_blank" rel="noopener">types/index.ts, line 122</a></p></div>






        
            
<h3 class="name" id="~dateCenter"><span class="type-signature">(inner, constant) </span>dateCenter<span class="type-signature"></span></h3>




<div class="description">
    <p>2^31 days before unix epoch is -5877641-06-23. This is the first day that can be represented by this class.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-date.ts#L9" target="_blank" rel="noopener">types/local-date.ts, line 9</a></p></div>






        
            
<h3 class="name" id="~distance"><span class="type-signature">(inner) </span>distance<span class="type-signature"></span></h3>




<div class="description">
    <p>Represents the distance of Cassandra node as assigned by a LoadBalancingPolicy relatively to the driver instance.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L269" target="_blank" rel="noopener">types/index.ts, line 269</a></p></div>






        
            
<h3 class="name" id="~logLevels"><span class="type-signature">(inner) </span>logLevels<span class="type-signature"></span></h3>




<div class="description">
    <p>Log level values used for the <code>logLevel</code> client option and emitted in <code>'log'</code> events.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L281" target="_blank" rel="noopener">types/index.ts, line 281</a></p></div>






        
            
<h3 class="name" id="~longAny"><span class="type-signature">(inner, constant) </span>longAny<span class="type-signature"></span></h3>




<div class="description">
    <p>The <code>long</code> library is not augmentable through <code>declare module</code>, and its own
typings naturally don't know about the statics and prototype methods the
driver installs on it below, so they are attached through an untyped view of
it. They were not part of the hand-written declarations either.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L22" target="_blank" rel="noopener">types/index.ts, line 22</a></p></div>






        
            
<h3 class="name" id="~protocolVersion"><span class="type-signature">(inner) </span>protocolVersion<span class="type-signature"></span></h3>




<div class="description">
    <p>Contains information for the different protocol versions supported by the driver.</p>
<p>Strict equality operators to compare versions are allowed, other comparison operators are discouraged. Instead,
use a function that checks if a functionality is present on a certain version, for maintainability purposes.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/protocol-version.ts#L21" target="_blank" rel="noopener">types/protocol-version.ts, line 21</a></p></div>






        
            
<h3 class="name" id="~responseErrorCodes"><span class="type-signature">(inner) </span>responseErrorCodes<span class="type-signature"></span></h3>




<div class="description">
    <p>Server error codes returned by Cassandra</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L299" target="_blank" rel="noopener">types/index.ts, line 299</a></p></div>






        
            
<h3 class="name" id="~unset"><span class="type-signature">(inner, constant) </span>unset<span class="type-signature"></span></h3>




<div class="description">
    <p>Unset representation.</p>
<p>Use this field if you want to set a parameter to <code>unset</code>. Valid for Cassandra 2.2 and above.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L352" target="_blank" rel="noopener">types/index.ts, line 352</a></p></div>






        
    

    
        </div>

## Methods

<div class="jsdoc-content">

        
            

    

    
    <h3 class="name" id="~generateTimestamp"><span class="type-signature">(inner) </span>generateTimestamp<span class="signature">(date, microseconds)</span><span class="type-signature"></span></h3>
    

    



<div class="description">
    <p>Generates a value representing the timestamp for the query in microseconds based on the date and the microseconds provided</p>
</div>









    <h4>Parameters:</h4>
    

<table class="params docutils align-default">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>date</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>The date to generate the value, if not provided it will use the current date.</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>microseconds</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>A number from 0 to 999 used to build the microseconds part of the date.</p></td>
        </tr>

    
    </tbody>
</table>






<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L547" target="_blank" rel="noopener">types/index.ts, line 547</a></p></div>




















        
            

    

    
    <h3 class="name" id="~splitTypeArgs"><span class="type-signature">(inner) </span>splitTypeArgs<span class="signature">(args)</span><span class="type-signature"></span></h3>
    

    



<div class="description">
    <p>Splits the comma separated arguments of a parameterized type name, ignoring
the commas that belong to the arguments themselves.</p>
</div>









    <h4>Parameters:</h4>
    

<table class="params docutils align-default">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>args</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>Everything between the outermost angle brackets.</p></td>
        </tr>

    
    </tbody>
</table>






<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L100" target="_blank" rel="noopener">types/index.ts, line 100</a></p></div>















<h4>Returns:</h4>

        
<div class="param-desc">
    <p>The arguments, trimmed.</p>
</div>







<header>
    
        
    
</header>


    
        

        
    
    

    

    

    
        </div>

## Classes

<div class="jsdoc-content">

        <dl>
            <dt><a href="BigDecimal.html">BigDecimal</a></dt>
            <dd></dd>
        
            <dt><a href="Duration.html">Duration</a></dt>
            <dd></dd>
        
            <dt><a href="InetAddress.html">InetAddress</a></dt>
            <dd></dd>
        
            <dt><a href="Integer.html">Integer</a></dt>
            <dd></dd>
        
            <dt><a href="LocalDate.html">LocalDate</a></dt>
            <dd></dd>
        
            <dt><a href="index.html#~LocalTime">LocalTime</a></dt>
            <dd></dd>
        
            <dt><a href="ResultStream.html">ResultStream</a></dt>
            <dd></dd>
        
            <dt><a href="Row.html">Row</a></dt>
            <dd></dd>
        
            <dt><a href="TimeUuid.html">TimeUuid</a></dt>
            <dd></dd>
        
            <dt><a href="Tuple.html">Tuple</a></dt>
            <dd></dd>
        
            <dt><a href="Uuid.html">Uuid</a></dt>
            <dd></dd>
        </dl>
    

    

    

    

    
        </div>

## Members

<div class="jsdoc-content">

        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the hour component of the time represented by the current instance, a number from 0 to 23.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L51" target="_blank" rel="noopener">types/local-time.ts, line 51</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the minute component of the time represented by the current instance, a number from 0 to 59.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L55" target="_blank" rel="noopener">types/local-time.ts, line 55</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the second component of the time represented by the current instance, a number from 0 to 59.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L59" target="_blank" rel="noopener">types/local-time.ts, line 59</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the nanoseconds component of the time represented by the current instance, a number from 0 to 999999999.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L63" target="_blank" rel="noopener">types/local-time.ts, line 63</a></p></div>






        
            
<h3 class="name" id="~Long"><span class="type-signature">(inner, constant) </span>Long<span class="type-signature"></span></h3>




<div class="description">
    <p>Long constructor, wrapper of the internal library used: <a href="https://github.com/dcodeIO/long.js">Long.js</a>.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L14" target="_blank" rel="noopener">types/index.ts, line 14</a></p></div>






        
            
<h3 class="name" id="~consistencies"><span class="type-signature">(inner) </span>consistencies<span class="type-signature"></span></h3>




<div class="description">
    <p>Consistency levels</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L27" target="_blank" rel="noopener">types/index.ts, line 27</a></p></div>






        
            
<h3 class="name" id="~consistencyToString"><span class="type-signature">(inner, constant) </span>consistencyToString<span class="type-signature"></span></h3>




<div class="description">
    <p>Mapping of consistency level codes to their string representation.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L80" target="_blank" rel="noopener">types/index.ts, line 80</a></p></div>






        
            
<h3 class="name" id="~dataTypes"><span class="type-signature">(inner) </span>dataTypes<span class="type-signature"></span></h3>




<div class="description">
    <p>CQL data types</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L122" target="_blank" rel="noopener">types/index.ts, line 122</a></p></div>






        
            
<h3 class="name" id="~dateCenter"><span class="type-signature">(inner, constant) </span>dateCenter<span class="type-signature"></span></h3>




<div class="description">
    <p>2^31 days before unix epoch is -5877641-06-23. This is the first day that can be represented by this class.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-date.ts#L9" target="_blank" rel="noopener">types/local-date.ts, line 9</a></p></div>






        
            
<h3 class="name" id="~distance"><span class="type-signature">(inner) </span>distance<span class="type-signature"></span></h3>




<div class="description">
    <p>Represents the distance of Cassandra node as assigned by a LoadBalancingPolicy relatively to the driver instance.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L269" target="_blank" rel="noopener">types/index.ts, line 269</a></p></div>






        
            
<h3 class="name" id="~logLevels"><span class="type-signature">(inner) </span>logLevels<span class="type-signature"></span></h3>




<div class="description">
    <p>Log level values used for the <code>logLevel</code> client option and emitted in <code>'log'</code> events.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L281" target="_blank" rel="noopener">types/index.ts, line 281</a></p></div>






        
            
<h3 class="name" id="~longAny"><span class="type-signature">(inner, constant) </span>longAny<span class="type-signature"></span></h3>




<div class="description">
    <p>The <code>long</code> library is not augmentable through <code>declare module</code>, and its own
typings naturally don't know about the statics and prototype methods the
driver installs on it below, so they are attached through an untyped view of
it. They were not part of the hand-written declarations either.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L22" target="_blank" rel="noopener">types/index.ts, line 22</a></p></div>






        
            
<h3 class="name" id="~protocolVersion"><span class="type-signature">(inner) </span>protocolVersion<span class="type-signature"></span></h3>




<div class="description">
    <p>Contains information for the different protocol versions supported by the driver.</p>
<p>Strict equality operators to compare versions are allowed, other comparison operators are discouraged. Instead,
use a function that checks if a functionality is present on a certain version, for maintainability purposes.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/protocol-version.ts#L21" target="_blank" rel="noopener">types/protocol-version.ts, line 21</a></p></div>






        
            
<h3 class="name" id="~responseErrorCodes"><span class="type-signature">(inner) </span>responseErrorCodes<span class="type-signature"></span></h3>




<div class="description">
    <p>Server error codes returned by Cassandra</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L299" target="_blank" rel="noopener">types/index.ts, line 299</a></p></div>






        
            
<h3 class="name" id="~unset"><span class="type-signature">(inner, constant) </span>unset<span class="type-signature"></span></h3>




<div class="description">
    <p>Unset representation.</p>
<p>Use this field if you want to set a parameter to <code>unset</code>. Valid for Cassandra 2.2 and above.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L352" target="_blank" rel="noopener">types/index.ts, line 352</a></p></div>






        
    

    
        </div>

## Methods

<div class="jsdoc-content">

        
            

    

    
    <h3 class="name" id="~generateTimestamp"><span class="type-signature">(inner) </span>generateTimestamp<span class="signature">(date, microseconds)</span><span class="type-signature"></span></h3>
    

    



<div class="description">
    <p>Generates a value representing the timestamp for the query in microseconds based on the date and the microseconds provided</p>
</div>









    <h4>Parameters:</h4>
    

<table class="params docutils align-default">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>date</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>The date to generate the value, if not provided it will use the current date.</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>microseconds</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>A number from 0 to 999 used to build the microseconds part of the date.</p></td>
        </tr>

    
    </tbody>
</table>






<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L547" target="_blank" rel="noopener">types/index.ts, line 547</a></p></div>




















        
            

    

    
    <h3 class="name" id="~splitTypeArgs"><span class="type-signature">(inner) </span>splitTypeArgs<span class="signature">(args)</span><span class="type-signature"></span></h3>
    

    



<div class="description">
    <p>Splits the comma separated arguments of a parameterized type name, ignoring
the commas that belong to the arguments themselves.</p>
</div>









    <h4>Parameters:</h4>
    

<table class="params docutils align-default">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>args</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>Everything between the outermost angle brackets.</p></td>
        </tr>

    
    </tbody>
</table>






<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L100" target="_blank" rel="noopener">types/index.ts, line 100</a></p></div>















<h4>Returns:</h4>

        
<div class="param-desc">
    <p>The arguments, trimmed.</p>
</div>







<header>
    
        
    
</header>


    
        

        
    
    

    

    

    
        </div>

## Classes

<div class="jsdoc-content">

        <dl>
            <dt><a href="BigDecimal.html">BigDecimal</a></dt>
            <dd></dd>
        
            <dt><a href="Duration.html">Duration</a></dt>
            <dd></dd>
        
            <dt><a href="InetAddress.html">InetAddress</a></dt>
            <dd></dd>
        
            <dt><a href="Integer.html">Integer</a></dt>
            <dd></dd>
        
            <dt><a href="LocalDate.html">LocalDate</a></dt>
            <dd></dd>
        
            <dt><a href="index.html#~LocalTime">LocalTime</a></dt>
            <dd></dd>
        
            <dt><a href="ResultStream.html">ResultStream</a></dt>
            <dd></dd>
        
            <dt><a href="Row.html">Row</a></dt>
            <dd></dd>
        
            <dt><a href="TimeUuid.html">TimeUuid</a></dt>
            <dd></dd>
        
            <dt><a href="Tuple.html">Tuple</a></dt>
            <dd></dd>
        
            <dt><a href="Uuid.html">Uuid</a></dt>
            <dd></dd>
        </dl>
    

    

    

    

    
        </div>

## Members

<div class="jsdoc-content">

        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the hour component of the time represented by the current instance, a number from 0 to 23.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L51" target="_blank" rel="noopener">types/local-time.ts, line 51</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the minute component of the time represented by the current instance, a number from 0 to 59.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L55" target="_blank" rel="noopener">types/local-time.ts, line 55</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the second component of the time represented by the current instance, a number from 0 to 59.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L59" target="_blank" rel="noopener">types/local-time.ts, line 59</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the nanoseconds component of the time represented by the current instance, a number from 0 to 999999999.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L63" target="_blank" rel="noopener">types/local-time.ts, line 63</a></p></div>






        
            
<h3 class="name" id="~Long"><span class="type-signature">(inner, constant) </span>Long<span class="type-signature"></span></h3>




<div class="description">
    <p>Long constructor, wrapper of the internal library used: <a href="https://github.com/dcodeIO/long.js">Long.js</a>.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L14" target="_blank" rel="noopener">types/index.ts, line 14</a></p></div>






        
            
<h3 class="name" id="~consistencies"><span class="type-signature">(inner) </span>consistencies<span class="type-signature"></span></h3>




<div class="description">
    <p>Consistency levels</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L27" target="_blank" rel="noopener">types/index.ts, line 27</a></p></div>






        
            
<h3 class="name" id="~consistencyToString"><span class="type-signature">(inner, constant) </span>consistencyToString<span class="type-signature"></span></h3>




<div class="description">
    <p>Mapping of consistency level codes to their string representation.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L80" target="_blank" rel="noopener">types/index.ts, line 80</a></p></div>






        
            
<h3 class="name" id="~dataTypes"><span class="type-signature">(inner) </span>dataTypes<span class="type-signature"></span></h3>




<div class="description">
    <p>CQL data types</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L122" target="_blank" rel="noopener">types/index.ts, line 122</a></p></div>






        
            
<h3 class="name" id="~dateCenter"><span class="type-signature">(inner, constant) </span>dateCenter<span class="type-signature"></span></h3>




<div class="description">
    <p>2^31 days before unix epoch is -5877641-06-23. This is the first day that can be represented by this class.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-date.ts#L9" target="_blank" rel="noopener">types/local-date.ts, line 9</a></p></div>






        
            
<h3 class="name" id="~distance"><span class="type-signature">(inner) </span>distance<span class="type-signature"></span></h3>




<div class="description">
    <p>Represents the distance of Cassandra node as assigned by a LoadBalancingPolicy relatively to the driver instance.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L269" target="_blank" rel="noopener">types/index.ts, line 269</a></p></div>






        
            
<h3 class="name" id="~logLevels"><span class="type-signature">(inner) </span>logLevels<span class="type-signature"></span></h3>




<div class="description">
    <p>Log level values used for the <code>logLevel</code> client option and emitted in <code>'log'</code> events.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L281" target="_blank" rel="noopener">types/index.ts, line 281</a></p></div>






        
            
<h3 class="name" id="~longAny"><span class="type-signature">(inner, constant) </span>longAny<span class="type-signature"></span></h3>




<div class="description">
    <p>The <code>long</code> library is not augmentable through <code>declare module</code>, and its own
typings naturally don't know about the statics and prototype methods the
driver installs on it below, so they are attached through an untyped view of
it. They were not part of the hand-written declarations either.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L22" target="_blank" rel="noopener">types/index.ts, line 22</a></p></div>






        
            
<h3 class="name" id="~protocolVersion"><span class="type-signature">(inner) </span>protocolVersion<span class="type-signature"></span></h3>




<div class="description">
    <p>Contains information for the different protocol versions supported by the driver.</p>
<p>Strict equality operators to compare versions are allowed, other comparison operators are discouraged. Instead,
use a function that checks if a functionality is present on a certain version, for maintainability purposes.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/protocol-version.ts#L21" target="_blank" rel="noopener">types/protocol-version.ts, line 21</a></p></div>






        
            
<h3 class="name" id="~responseErrorCodes"><span class="type-signature">(inner) </span>responseErrorCodes<span class="type-signature"></span></h3>




<div class="description">
    <p>Server error codes returned by Cassandra</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L299" target="_blank" rel="noopener">types/index.ts, line 299</a></p></div>






        
            
<h3 class="name" id="~unset"><span class="type-signature">(inner, constant) </span>unset<span class="type-signature"></span></h3>




<div class="description">
    <p>Unset representation.</p>
<p>Use this field if you want to set a parameter to <code>unset</code>. Valid for Cassandra 2.2 and above.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L352" target="_blank" rel="noopener">types/index.ts, line 352</a></p></div>






        
    

    
        </div>

## Methods

<div class="jsdoc-content">

        
            

    

    
    <h3 class="name" id="~generateTimestamp"><span class="type-signature">(inner) </span>generateTimestamp<span class="signature">(date, microseconds)</span><span class="type-signature"></span></h3>
    

    



<div class="description">
    <p>Generates a value representing the timestamp for the query in microseconds based on the date and the microseconds provided</p>
</div>









    <h4>Parameters:</h4>
    

<table class="params docutils align-default">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>date</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>The date to generate the value, if not provided it will use the current date.</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>microseconds</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>A number from 0 to 999 used to build the microseconds part of the date.</p></td>
        </tr>

    
    </tbody>
</table>






<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L547" target="_blank" rel="noopener">types/index.ts, line 547</a></p></div>




















        
            

    

    
    <h3 class="name" id="~splitTypeArgs"><span class="type-signature">(inner) </span>splitTypeArgs<span class="signature">(args)</span><span class="type-signature"></span></h3>
    

    



<div class="description">
    <p>Splits the comma separated arguments of a parameterized type name, ignoring
the commas that belong to the arguments themselves.</p>
</div>









    <h4>Parameters:</h4>
    

<table class="params docutils align-default">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>args</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>Everything between the outermost angle brackets.</p></td>
        </tr>

    
    </tbody>
</table>






<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L100" target="_blank" rel="noopener">types/index.ts, line 100</a></p></div>















<h4>Returns:</h4>

        
<div class="param-desc">
    <p>The arguments, trimmed.</p>
</div>







<header>
    
        
    
</header>


    
        

        
    
    

    

    

    
        </div>

## Classes

<div class="jsdoc-content">

        <dl>
            <dt><a href="BigDecimal.html">BigDecimal</a></dt>
            <dd></dd>
        
            <dt><a href="Duration.html">Duration</a></dt>
            <dd></dd>
        
            <dt><a href="InetAddress.html">InetAddress</a></dt>
            <dd></dd>
        
            <dt><a href="Integer.html">Integer</a></dt>
            <dd></dd>
        
            <dt><a href="LocalDate.html">LocalDate</a></dt>
            <dd></dd>
        
            <dt><a href="index.html#~LocalTime">LocalTime</a></dt>
            <dd></dd>
        
            <dt><a href="ResultStream.html">ResultStream</a></dt>
            <dd></dd>
        
            <dt><a href="Row.html">Row</a></dt>
            <dd></dd>
        
            <dt><a href="TimeUuid.html">TimeUuid</a></dt>
            <dd></dd>
        
            <dt><a href="Tuple.html">Tuple</a></dt>
            <dd></dd>
        
            <dt><a href="Uuid.html">Uuid</a></dt>
            <dd></dd>
        </dl>
    

    

    

    

    
        </div>

## Members

<div class="jsdoc-content">

        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the hour component of the time represented by the current instance, a number from 0 to 23.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L51" target="_blank" rel="noopener">types/local-time.ts, line 51</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the minute component of the time represented by the current instance, a number from 0 to 59.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L55" target="_blank" rel="noopener">types/local-time.ts, line 55</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the second component of the time represented by the current instance, a number from 0 to 59.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L59" target="_blank" rel="noopener">types/local-time.ts, line 59</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the nanoseconds component of the time represented by the current instance, a number from 0 to 999999999.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L63" target="_blank" rel="noopener">types/local-time.ts, line 63</a></p></div>






        
            
<h3 class="name" id="~Long"><span class="type-signature">(inner, constant) </span>Long<span class="type-signature"></span></h3>




<div class="description">
    <p>Long constructor, wrapper of the internal library used: <a href="https://github.com/dcodeIO/long.js">Long.js</a>.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L14" target="_blank" rel="noopener">types/index.ts, line 14</a></p></div>






        
            
<h3 class="name" id="~consistencies"><span class="type-signature">(inner) </span>consistencies<span class="type-signature"></span></h3>




<div class="description">
    <p>Consistency levels</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L27" target="_blank" rel="noopener">types/index.ts, line 27</a></p></div>






        
            
<h3 class="name" id="~consistencyToString"><span class="type-signature">(inner, constant) </span>consistencyToString<span class="type-signature"></span></h3>




<div class="description">
    <p>Mapping of consistency level codes to their string representation.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L80" target="_blank" rel="noopener">types/index.ts, line 80</a></p></div>






        
            
<h3 class="name" id="~dataTypes"><span class="type-signature">(inner) </span>dataTypes<span class="type-signature"></span></h3>




<div class="description">
    <p>CQL data types</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L122" target="_blank" rel="noopener">types/index.ts, line 122</a></p></div>






        
            
<h3 class="name" id="~dateCenter"><span class="type-signature">(inner, constant) </span>dateCenter<span class="type-signature"></span></h3>




<div class="description">
    <p>2^31 days before unix epoch is -5877641-06-23. This is the first day that can be represented by this class.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-date.ts#L9" target="_blank" rel="noopener">types/local-date.ts, line 9</a></p></div>






        
            
<h3 class="name" id="~distance"><span class="type-signature">(inner) </span>distance<span class="type-signature"></span></h3>




<div class="description">
    <p>Represents the distance of Cassandra node as assigned by a LoadBalancingPolicy relatively to the driver instance.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L269" target="_blank" rel="noopener">types/index.ts, line 269</a></p></div>






        
            
<h3 class="name" id="~logLevels"><span class="type-signature">(inner) </span>logLevels<span class="type-signature"></span></h3>




<div class="description">
    <p>Log level values used for the <code>logLevel</code> client option and emitted in <code>'log'</code> events.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L281" target="_blank" rel="noopener">types/index.ts, line 281</a></p></div>






        
            
<h3 class="name" id="~longAny"><span class="type-signature">(inner, constant) </span>longAny<span class="type-signature"></span></h3>




<div class="description">
    <p>The <code>long</code> library is not augmentable through <code>declare module</code>, and its own
typings naturally don't know about the statics and prototype methods the
driver installs on it below, so they are attached through an untyped view of
it. They were not part of the hand-written declarations either.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L22" target="_blank" rel="noopener">types/index.ts, line 22</a></p></div>






        
            
<h3 class="name" id="~protocolVersion"><span class="type-signature">(inner) </span>protocolVersion<span class="type-signature"></span></h3>




<div class="description">
    <p>Contains information for the different protocol versions supported by the driver.</p>
<p>Strict equality operators to compare versions are allowed, other comparison operators are discouraged. Instead,
use a function that checks if a functionality is present on a certain version, for maintainability purposes.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/protocol-version.ts#L21" target="_blank" rel="noopener">types/protocol-version.ts, line 21</a></p></div>






        
            
<h3 class="name" id="~responseErrorCodes"><span class="type-signature">(inner) </span>responseErrorCodes<span class="type-signature"></span></h3>




<div class="description">
    <p>Server error codes returned by Cassandra</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L299" target="_blank" rel="noopener">types/index.ts, line 299</a></p></div>






        
            
<h3 class="name" id="~unset"><span class="type-signature">(inner, constant) </span>unset<span class="type-signature"></span></h3>




<div class="description">
    <p>Unset representation.</p>
<p>Use this field if you want to set a parameter to <code>unset</code>. Valid for Cassandra 2.2 and above.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L352" target="_blank" rel="noopener">types/index.ts, line 352</a></p></div>






        
    

    
        </div>

## Methods

<div class="jsdoc-content">

        
            

    

    
    <h3 class="name" id="~generateTimestamp"><span class="type-signature">(inner) </span>generateTimestamp<span class="signature">(date, microseconds)</span><span class="type-signature"></span></h3>
    

    



<div class="description">
    <p>Generates a value representing the timestamp for the query in microseconds based on the date and the microseconds provided</p>
</div>









    <h4>Parameters:</h4>
    

<table class="params docutils align-default">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>date</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>The date to generate the value, if not provided it will use the current date.</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>microseconds</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>A number from 0 to 999 used to build the microseconds part of the date.</p></td>
        </tr>

    
    </tbody>
</table>






<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L547" target="_blank" rel="noopener">types/index.ts, line 547</a></p></div>




















        
            

    

    
    <h3 class="name" id="~splitTypeArgs"><span class="type-signature">(inner) </span>splitTypeArgs<span class="signature">(args)</span><span class="type-signature"></span></h3>
    

    



<div class="description">
    <p>Splits the comma separated arguments of a parameterized type name, ignoring
the commas that belong to the arguments themselves.</p>
</div>









    <h4>Parameters:</h4>
    

<table class="params docutils align-default">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>args</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>Everything between the outermost angle brackets.</p></td>
        </tr>

    
    </tbody>
</table>






<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L100" target="_blank" rel="noopener">types/index.ts, line 100</a></p></div>















<h4>Returns:</h4>

        
<div class="param-desc">
    <p>The arguments, trimmed.</p>
</div>







<header>
    
        
    
</header>


    
        

        
    
    

    

    

    
        </div>

## Classes

<div class="jsdoc-content">

        <dl>
            <dt><a href="BigDecimal.html">BigDecimal</a></dt>
            <dd></dd>
        
            <dt><a href="Duration.html">Duration</a></dt>
            <dd></dd>
        
            <dt><a href="InetAddress.html">InetAddress</a></dt>
            <dd></dd>
        
            <dt><a href="Integer.html">Integer</a></dt>
            <dd></dd>
        
            <dt><a href="LocalDate.html">LocalDate</a></dt>
            <dd></dd>
        
            <dt><a href="index.html#~LocalTime">LocalTime</a></dt>
            <dd></dd>
        
            <dt><a href="ResultStream.html">ResultStream</a></dt>
            <dd></dd>
        
            <dt><a href="Row.html">Row</a></dt>
            <dd></dd>
        
            <dt><a href="TimeUuid.html">TimeUuid</a></dt>
            <dd></dd>
        
            <dt><a href="Tuple.html">Tuple</a></dt>
            <dd></dd>
        
            <dt><a href="Uuid.html">Uuid</a></dt>
            <dd></dd>
        </dl>
    

    

    

    

    
        </div>

## Members

<div class="jsdoc-content">

        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the hour component of the time represented by the current instance, a number from 0 to 23.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L51" target="_blank" rel="noopener">types/local-time.ts, line 51</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the minute component of the time represented by the current instance, a number from 0 to 59.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L55" target="_blank" rel="noopener">types/local-time.ts, line 55</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the second component of the time represented by the current instance, a number from 0 to 59.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L59" target="_blank" rel="noopener">types/local-time.ts, line 59</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the nanoseconds component of the time represented by the current instance, a number from 0 to 999999999.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L63" target="_blank" rel="noopener">types/local-time.ts, line 63</a></p></div>






        
            
<h3 class="name" id="~Long"><span class="type-signature">(inner, constant) </span>Long<span class="type-signature"></span></h3>




<div class="description">
    <p>Long constructor, wrapper of the internal library used: <a href="https://github.com/dcodeIO/long.js">Long.js</a>.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L14" target="_blank" rel="noopener">types/index.ts, line 14</a></p></div>






        
            
<h3 class="name" id="~consistencies"><span class="type-signature">(inner) </span>consistencies<span class="type-signature"></span></h3>




<div class="description">
    <p>Consistency levels</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L27" target="_blank" rel="noopener">types/index.ts, line 27</a></p></div>






        
            
<h3 class="name" id="~consistencyToString"><span class="type-signature">(inner, constant) </span>consistencyToString<span class="type-signature"></span></h3>




<div class="description">
    <p>Mapping of consistency level codes to their string representation.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L80" target="_blank" rel="noopener">types/index.ts, line 80</a></p></div>






        
            
<h3 class="name" id="~dataTypes"><span class="type-signature">(inner) </span>dataTypes<span class="type-signature"></span></h3>




<div class="description">
    <p>CQL data types</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L122" target="_blank" rel="noopener">types/index.ts, line 122</a></p></div>






        
            
<h3 class="name" id="~dateCenter"><span class="type-signature">(inner, constant) </span>dateCenter<span class="type-signature"></span></h3>




<div class="description">
    <p>2^31 days before unix epoch is -5877641-06-23. This is the first day that can be represented by this class.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-date.ts#L9" target="_blank" rel="noopener">types/local-date.ts, line 9</a></p></div>






        
            
<h3 class="name" id="~distance"><span class="type-signature">(inner) </span>distance<span class="type-signature"></span></h3>




<div class="description">
    <p>Represents the distance of Cassandra node as assigned by a LoadBalancingPolicy relatively to the driver instance.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L269" target="_blank" rel="noopener">types/index.ts, line 269</a></p></div>






        
            
<h3 class="name" id="~logLevels"><span class="type-signature">(inner) </span>logLevels<span class="type-signature"></span></h3>




<div class="description">
    <p>Log level values used for the <code>logLevel</code> client option and emitted in <code>'log'</code> events.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L281" target="_blank" rel="noopener">types/index.ts, line 281</a></p></div>






        
            
<h3 class="name" id="~longAny"><span class="type-signature">(inner, constant) </span>longAny<span class="type-signature"></span></h3>




<div class="description">
    <p>The <code>long</code> library is not augmentable through <code>declare module</code>, and its own
typings naturally don't know about the statics and prototype methods the
driver installs on it below, so they are attached through an untyped view of
it. They were not part of the hand-written declarations either.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L22" target="_blank" rel="noopener">types/index.ts, line 22</a></p></div>






        
            
<h3 class="name" id="~protocolVersion"><span class="type-signature">(inner) </span>protocolVersion<span class="type-signature"></span></h3>




<div class="description">
    <p>Contains information for the different protocol versions supported by the driver.</p>
<p>Strict equality operators to compare versions are allowed, other comparison operators are discouraged. Instead,
use a function that checks if a functionality is present on a certain version, for maintainability purposes.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/protocol-version.ts#L21" target="_blank" rel="noopener">types/protocol-version.ts, line 21</a></p></div>






        
            
<h3 class="name" id="~responseErrorCodes"><span class="type-signature">(inner) </span>responseErrorCodes<span class="type-signature"></span></h3>




<div class="description">
    <p>Server error codes returned by Cassandra</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L299" target="_blank" rel="noopener">types/index.ts, line 299</a></p></div>






        
            
<h3 class="name" id="~unset"><span class="type-signature">(inner, constant) </span>unset<span class="type-signature"></span></h3>




<div class="description">
    <p>Unset representation.</p>
<p>Use this field if you want to set a parameter to <code>unset</code>. Valid for Cassandra 2.2 and above.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L352" target="_blank" rel="noopener">types/index.ts, line 352</a></p></div>






        
    

    
        </div>

## Methods

<div class="jsdoc-content">

        
            

    

    
    <h3 class="name" id="~generateTimestamp"><span class="type-signature">(inner) </span>generateTimestamp<span class="signature">(date, microseconds)</span><span class="type-signature"></span></h3>
    

    



<div class="description">
    <p>Generates a value representing the timestamp for the query in microseconds based on the date and the microseconds provided</p>
</div>









    <h4>Parameters:</h4>
    

<table class="params docutils align-default">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>date</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>The date to generate the value, if not provided it will use the current date.</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>microseconds</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>A number from 0 to 999 used to build the microseconds part of the date.</p></td>
        </tr>

    
    </tbody>
</table>






<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L547" target="_blank" rel="noopener">types/index.ts, line 547</a></p></div>




















        
            

    

    
    <h3 class="name" id="~splitTypeArgs"><span class="type-signature">(inner) </span>splitTypeArgs<span class="signature">(args)</span><span class="type-signature"></span></h3>
    

    



<div class="description">
    <p>Splits the comma separated arguments of a parameterized type name, ignoring
the commas that belong to the arguments themselves.</p>
</div>









    <h4>Parameters:</h4>
    

<table class="params docutils align-default">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>args</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>Everything between the outermost angle brackets.</p></td>
        </tr>

    
    </tbody>
</table>






<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L100" target="_blank" rel="noopener">types/index.ts, line 100</a></p></div>















<h4>Returns:</h4>

        
<div class="param-desc">
    <p>The arguments, trimmed.</p>
</div>







<header>
    
        
    
</header>


    
        

        
    
    

    

    

    
        </div>

## Classes

<div class="jsdoc-content">

        <dl>
            <dt><a href="BigDecimal.html">BigDecimal</a></dt>
            <dd></dd>
        
            <dt><a href="Duration.html">Duration</a></dt>
            <dd></dd>
        
            <dt><a href="InetAddress.html">InetAddress</a></dt>
            <dd></dd>
        
            <dt><a href="Integer.html">Integer</a></dt>
            <dd></dd>
        
            <dt><a href="LocalDate.html">LocalDate</a></dt>
            <dd></dd>
        
            <dt><a href="index.html#~LocalTime">LocalTime</a></dt>
            <dd></dd>
        
            <dt><a href="ResultStream.html">ResultStream</a></dt>
            <dd></dd>
        
            <dt><a href="Row.html">Row</a></dt>
            <dd></dd>
        
            <dt><a href="TimeUuid.html">TimeUuid</a></dt>
            <dd></dd>
        
            <dt><a href="Tuple.html">Tuple</a></dt>
            <dd></dd>
        
            <dt><a href="Uuid.html">Uuid</a></dt>
            <dd></dd>
        </dl>
    

    

    

    

    
        </div>

## Members

<div class="jsdoc-content">

        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the hour component of the time represented by the current instance, a number from 0 to 23.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L51" target="_blank" rel="noopener">types/local-time.ts, line 51</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the minute component of the time represented by the current instance, a number from 0 to 59.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L55" target="_blank" rel="noopener">types/local-time.ts, line 55</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the second component of the time represented by the current instance, a number from 0 to 59.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L59" target="_blank" rel="noopener">types/local-time.ts, line 59</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the nanoseconds component of the time represented by the current instance, a number from 0 to 999999999.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L63" target="_blank" rel="noopener">types/local-time.ts, line 63</a></p></div>






        
            
<h3 class="name" id="~Long"><span class="type-signature">(inner, constant) </span>Long<span class="type-signature"></span></h3>




<div class="description">
    <p>Long constructor, wrapper of the internal library used: <a href="https://github.com/dcodeIO/long.js">Long.js</a>.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L14" target="_blank" rel="noopener">types/index.ts, line 14</a></p></div>






        
            
<h3 class="name" id="~consistencies"><span class="type-signature">(inner) </span>consistencies<span class="type-signature"></span></h3>




<div class="description">
    <p>Consistency levels</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L27" target="_blank" rel="noopener">types/index.ts, line 27</a></p></div>






        
            
<h3 class="name" id="~consistencyToString"><span class="type-signature">(inner, constant) </span>consistencyToString<span class="type-signature"></span></h3>




<div class="description">
    <p>Mapping of consistency level codes to their string representation.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L80" target="_blank" rel="noopener">types/index.ts, line 80</a></p></div>






        
            
<h3 class="name" id="~dataTypes"><span class="type-signature">(inner) </span>dataTypes<span class="type-signature"></span></h3>




<div class="description">
    <p>CQL data types</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L122" target="_blank" rel="noopener">types/index.ts, line 122</a></p></div>






        
            
<h3 class="name" id="~dateCenter"><span class="type-signature">(inner, constant) </span>dateCenter<span class="type-signature"></span></h3>




<div class="description">
    <p>2^31 days before unix epoch is -5877641-06-23. This is the first day that can be represented by this class.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-date.ts#L9" target="_blank" rel="noopener">types/local-date.ts, line 9</a></p></div>






        
            
<h3 class="name" id="~distance"><span class="type-signature">(inner) </span>distance<span class="type-signature"></span></h3>




<div class="description">
    <p>Represents the distance of Cassandra node as assigned by a LoadBalancingPolicy relatively to the driver instance.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L269" target="_blank" rel="noopener">types/index.ts, line 269</a></p></div>






        
            
<h3 class="name" id="~logLevels"><span class="type-signature">(inner) </span>logLevels<span class="type-signature"></span></h3>




<div class="description">
    <p>Log level values used for the <code>logLevel</code> client option and emitted in <code>'log'</code> events.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L281" target="_blank" rel="noopener">types/index.ts, line 281</a></p></div>






        
            
<h3 class="name" id="~longAny"><span class="type-signature">(inner, constant) </span>longAny<span class="type-signature"></span></h3>




<div class="description">
    <p>The <code>long</code> library is not augmentable through <code>declare module</code>, and its own
typings naturally don't know about the statics and prototype methods the
driver installs on it below, so they are attached through an untyped view of
it. They were not part of the hand-written declarations either.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L22" target="_blank" rel="noopener">types/index.ts, line 22</a></p></div>






        
            
<h3 class="name" id="~protocolVersion"><span class="type-signature">(inner) </span>protocolVersion<span class="type-signature"></span></h3>




<div class="description">
    <p>Contains information for the different protocol versions supported by the driver.</p>
<p>Strict equality operators to compare versions are allowed, other comparison operators are discouraged. Instead,
use a function that checks if a functionality is present on a certain version, for maintainability purposes.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/protocol-version.ts#L21" target="_blank" rel="noopener">types/protocol-version.ts, line 21</a></p></div>






        
            
<h3 class="name" id="~responseErrorCodes"><span class="type-signature">(inner) </span>responseErrorCodes<span class="type-signature"></span></h3>




<div class="description">
    <p>Server error codes returned by Cassandra</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L299" target="_blank" rel="noopener">types/index.ts, line 299</a></p></div>






        
            
<h3 class="name" id="~unset"><span class="type-signature">(inner, constant) </span>unset<span class="type-signature"></span></h3>




<div class="description">
    <p>Unset representation.</p>
<p>Use this field if you want to set a parameter to <code>unset</code>. Valid for Cassandra 2.2 and above.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L352" target="_blank" rel="noopener">types/index.ts, line 352</a></p></div>






        
    

    
        </div>

## Methods

<div class="jsdoc-content">

        
            

    

    
    <h3 class="name" id="~generateTimestamp"><span class="type-signature">(inner) </span>generateTimestamp<span class="signature">(date, microseconds)</span><span class="type-signature"></span></h3>
    

    



<div class="description">
    <p>Generates a value representing the timestamp for the query in microseconds based on the date and the microseconds provided</p>
</div>









    <h4>Parameters:</h4>
    

<table class="params docutils align-default">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>date</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>The date to generate the value, if not provided it will use the current date.</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>microseconds</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>A number from 0 to 999 used to build the microseconds part of the date.</p></td>
        </tr>

    
    </tbody>
</table>






<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L547" target="_blank" rel="noopener">types/index.ts, line 547</a></p></div>




















        
            

    

    
    <h3 class="name" id="~splitTypeArgs"><span class="type-signature">(inner) </span>splitTypeArgs<span class="signature">(args)</span><span class="type-signature"></span></h3>
    

    



<div class="description">
    <p>Splits the comma separated arguments of a parameterized type name, ignoring
the commas that belong to the arguments themselves.</p>
</div>









    <h4>Parameters:</h4>
    

<table class="params docutils align-default">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>args</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>Everything between the outermost angle brackets.</p></td>
        </tr>

    
    </tbody>
</table>






<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L100" target="_blank" rel="noopener">types/index.ts, line 100</a></p></div>















<h4>Returns:</h4>

        
<div class="param-desc">
    <p>The arguments, trimmed.</p>
</div>







<header>
    
        
    
</header>


    
        

        
    
    

    

    

    
        </div>

## Classes

<div class="jsdoc-content">

        <dl>
            <dt><a href="BigDecimal.html">BigDecimal</a></dt>
            <dd></dd>
        
            <dt><a href="Duration.html">Duration</a></dt>
            <dd></dd>
        
            <dt><a href="InetAddress.html">InetAddress</a></dt>
            <dd></dd>
        
            <dt><a href="Integer.html">Integer</a></dt>
            <dd></dd>
        
            <dt><a href="LocalDate.html">LocalDate</a></dt>
            <dd></dd>
        
            <dt><a href="index.html#~LocalTime">LocalTime</a></dt>
            <dd></dd>
        
            <dt><a href="ResultStream.html">ResultStream</a></dt>
            <dd></dd>
        
            <dt><a href="Row.html">Row</a></dt>
            <dd></dd>
        
            <dt><a href="TimeUuid.html">TimeUuid</a></dt>
            <dd></dd>
        
            <dt><a href="Tuple.html">Tuple</a></dt>
            <dd></dd>
        
            <dt><a href="Uuid.html">Uuid</a></dt>
            <dd></dd>
        </dl>
    

    

    

    

    
        </div>

## Members

<div class="jsdoc-content">

        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the hour component of the time represented by the current instance, a number from 0 to 23.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L51" target="_blank" rel="noopener">types/local-time.ts, line 51</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the minute component of the time represented by the current instance, a number from 0 to 59.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L55" target="_blank" rel="noopener">types/local-time.ts, line 55</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the second component of the time represented by the current instance, a number from 0 to 59.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L59" target="_blank" rel="noopener">types/local-time.ts, line 59</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the nanoseconds component of the time represented by the current instance, a number from 0 to 999999999.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L63" target="_blank" rel="noopener">types/local-time.ts, line 63</a></p></div>






        
            
<h3 class="name" id="~Long"><span class="type-signature">(inner, constant) </span>Long<span class="type-signature"></span></h3>




<div class="description">
    <p>Long constructor, wrapper of the internal library used: <a href="https://github.com/dcodeIO/long.js">Long.js</a>.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L14" target="_blank" rel="noopener">types/index.ts, line 14</a></p></div>






        
            
<h3 class="name" id="~consistencies"><span class="type-signature">(inner) </span>consistencies<span class="type-signature"></span></h3>




<div class="description">
    <p>Consistency levels</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L27" target="_blank" rel="noopener">types/index.ts, line 27</a></p></div>






        
            
<h3 class="name" id="~consistencyToString"><span class="type-signature">(inner, constant) </span>consistencyToString<span class="type-signature"></span></h3>




<div class="description">
    <p>Mapping of consistency level codes to their string representation.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L80" target="_blank" rel="noopener">types/index.ts, line 80</a></p></div>






        
            
<h3 class="name" id="~dataTypes"><span class="type-signature">(inner) </span>dataTypes<span class="type-signature"></span></h3>




<div class="description">
    <p>CQL data types</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L122" target="_blank" rel="noopener">types/index.ts, line 122</a></p></div>






        
            
<h3 class="name" id="~dateCenter"><span class="type-signature">(inner, constant) </span>dateCenter<span class="type-signature"></span></h3>




<div class="description">
    <p>2^31 days before unix epoch is -5877641-06-23. This is the first day that can be represented by this class.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-date.ts#L9" target="_blank" rel="noopener">types/local-date.ts, line 9</a></p></div>






        
            
<h3 class="name" id="~distance"><span class="type-signature">(inner) </span>distance<span class="type-signature"></span></h3>




<div class="description">
    <p>Represents the distance of Cassandra node as assigned by a LoadBalancingPolicy relatively to the driver instance.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L269" target="_blank" rel="noopener">types/index.ts, line 269</a></p></div>






        
            
<h3 class="name" id="~logLevels"><span class="type-signature">(inner) </span>logLevels<span class="type-signature"></span></h3>




<div class="description">
    <p>Log level values used for the <code>logLevel</code> client option and emitted in <code>'log'</code> events.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L281" target="_blank" rel="noopener">types/index.ts, line 281</a></p></div>






        
            
<h3 class="name" id="~longAny"><span class="type-signature">(inner, constant) </span>longAny<span class="type-signature"></span></h3>




<div class="description">
    <p>The <code>long</code> library is not augmentable through <code>declare module</code>, and its own
typings naturally don't know about the statics and prototype methods the
driver installs on it below, so they are attached through an untyped view of
it. They were not part of the hand-written declarations either.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L22" target="_blank" rel="noopener">types/index.ts, line 22</a></p></div>






        
            
<h3 class="name" id="~protocolVersion"><span class="type-signature">(inner) </span>protocolVersion<span class="type-signature"></span></h3>




<div class="description">
    <p>Contains information for the different protocol versions supported by the driver.</p>
<p>Strict equality operators to compare versions are allowed, other comparison operators are discouraged. Instead,
use a function that checks if a functionality is present on a certain version, for maintainability purposes.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/protocol-version.ts#L21" target="_blank" rel="noopener">types/protocol-version.ts, line 21</a></p></div>






        
            
<h3 class="name" id="~responseErrorCodes"><span class="type-signature">(inner) </span>responseErrorCodes<span class="type-signature"></span></h3>




<div class="description">
    <p>Server error codes returned by Cassandra</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L299" target="_blank" rel="noopener">types/index.ts, line 299</a></p></div>






        
            
<h3 class="name" id="~unset"><span class="type-signature">(inner, constant) </span>unset<span class="type-signature"></span></h3>




<div class="description">
    <p>Unset representation.</p>
<p>Use this field if you want to set a parameter to <code>unset</code>. Valid for Cassandra 2.2 and above.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L352" target="_blank" rel="noopener">types/index.ts, line 352</a></p></div>






        
    

    
        </div>

## Methods

<div class="jsdoc-content">

        
            

    

    
    <h3 class="name" id="~generateTimestamp"><span class="type-signature">(inner) </span>generateTimestamp<span class="signature">(date, microseconds)</span><span class="type-signature"></span></h3>
    

    



<div class="description">
    <p>Generates a value representing the timestamp for the query in microseconds based on the date and the microseconds provided</p>
</div>









    <h4>Parameters:</h4>
    

<table class="params docutils align-default">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>date</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>The date to generate the value, if not provided it will use the current date.</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>microseconds</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>A number from 0 to 999 used to build the microseconds part of the date.</p></td>
        </tr>

    
    </tbody>
</table>






<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L547" target="_blank" rel="noopener">types/index.ts, line 547</a></p></div>




















        
            

    

    
    <h3 class="name" id="~splitTypeArgs"><span class="type-signature">(inner) </span>splitTypeArgs<span class="signature">(args)</span><span class="type-signature"></span></h3>
    

    



<div class="description">
    <p>Splits the comma separated arguments of a parameterized type name, ignoring
the commas that belong to the arguments themselves.</p>
</div>









    <h4>Parameters:</h4>
    

<table class="params docutils align-default">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>args</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>Everything between the outermost angle brackets.</p></td>
        </tr>

    
    </tbody>
</table>






<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L100" target="_blank" rel="noopener">types/index.ts, line 100</a></p></div>















<h4>Returns:</h4>

        
<div class="param-desc">
    <p>The arguments, trimmed.</p>
</div>







<header>
    
        
    
</header>


    
        

        
    
    

    

    

    
        </div>

## Classes

<div class="jsdoc-content">

        <dl>
            <dt><a href="BigDecimal.html">BigDecimal</a></dt>
            <dd></dd>
        
            <dt><a href="Duration.html">Duration</a></dt>
            <dd></dd>
        
            <dt><a href="InetAddress.html">InetAddress</a></dt>
            <dd></dd>
        
            <dt><a href="Integer.html">Integer</a></dt>
            <dd></dd>
        
            <dt><a href="LocalDate.html">LocalDate</a></dt>
            <dd></dd>
        
            <dt><a href="index.html#~LocalTime">LocalTime</a></dt>
            <dd></dd>
        
            <dt><a href="ResultStream.html">ResultStream</a></dt>
            <dd></dd>
        
            <dt><a href="Row.html">Row</a></dt>
            <dd></dd>
        
            <dt><a href="TimeUuid.html">TimeUuid</a></dt>
            <dd></dd>
        
            <dt><a href="Tuple.html">Tuple</a></dt>
            <dd></dd>
        
            <dt><a href="Uuid.html">Uuid</a></dt>
            <dd></dd>
        </dl>
    

    

    

    

    
        </div>

## Members

<div class="jsdoc-content">

        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the hour component of the time represented by the current instance, a number from 0 to 23.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L51" target="_blank" rel="noopener">types/local-time.ts, line 51</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the minute component of the time represented by the current instance, a number from 0 to 59.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L55" target="_blank" rel="noopener">types/local-time.ts, line 55</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the second component of the time represented by the current instance, a number from 0 to 59.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L59" target="_blank" rel="noopener">types/local-time.ts, line 59</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the nanoseconds component of the time represented by the current instance, a number from 0 to 999999999.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L63" target="_blank" rel="noopener">types/local-time.ts, line 63</a></p></div>






        
            
<h3 class="name" id="~Long"><span class="type-signature">(inner, constant) </span>Long<span class="type-signature"></span></h3>




<div class="description">
    <p>Long constructor, wrapper of the internal library used: <a href="https://github.com/dcodeIO/long.js">Long.js</a>.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L14" target="_blank" rel="noopener">types/index.ts, line 14</a></p></div>






        
            
<h3 class="name" id="~consistencies"><span class="type-signature">(inner) </span>consistencies<span class="type-signature"></span></h3>




<div class="description">
    <p>Consistency levels</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L27" target="_blank" rel="noopener">types/index.ts, line 27</a></p></div>






        
            
<h3 class="name" id="~consistencyToString"><span class="type-signature">(inner, constant) </span>consistencyToString<span class="type-signature"></span></h3>




<div class="description">
    <p>Mapping of consistency level codes to their string representation.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L80" target="_blank" rel="noopener">types/index.ts, line 80</a></p></div>






        
            
<h3 class="name" id="~dataTypes"><span class="type-signature">(inner) </span>dataTypes<span class="type-signature"></span></h3>




<div class="description">
    <p>CQL data types</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L122" target="_blank" rel="noopener">types/index.ts, line 122</a></p></div>






        
            
<h3 class="name" id="~dateCenter"><span class="type-signature">(inner, constant) </span>dateCenter<span class="type-signature"></span></h3>




<div class="description">
    <p>2^31 days before unix epoch is -5877641-06-23. This is the first day that can be represented by this class.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-date.ts#L9" target="_blank" rel="noopener">types/local-date.ts, line 9</a></p></div>






        
            
<h3 class="name" id="~distance"><span class="type-signature">(inner) </span>distance<span class="type-signature"></span></h3>




<div class="description">
    <p>Represents the distance of Cassandra node as assigned by a LoadBalancingPolicy relatively to the driver instance.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L269" target="_blank" rel="noopener">types/index.ts, line 269</a></p></div>






        
            
<h3 class="name" id="~logLevels"><span class="type-signature">(inner) </span>logLevels<span class="type-signature"></span></h3>




<div class="description">
    <p>Log level values used for the <code>logLevel</code> client option and emitted in <code>'log'</code> events.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L281" target="_blank" rel="noopener">types/index.ts, line 281</a></p></div>






        
            
<h3 class="name" id="~longAny"><span class="type-signature">(inner, constant) </span>longAny<span class="type-signature"></span></h3>




<div class="description">
    <p>The <code>long</code> library is not augmentable through <code>declare module</code>, and its own
typings naturally don't know about the statics and prototype methods the
driver installs on it below, so they are attached through an untyped view of
it. They were not part of the hand-written declarations either.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L22" target="_blank" rel="noopener">types/index.ts, line 22</a></p></div>






        
            
<h3 class="name" id="~protocolVersion"><span class="type-signature">(inner) </span>protocolVersion<span class="type-signature"></span></h3>




<div class="description">
    <p>Contains information for the different protocol versions supported by the driver.</p>
<p>Strict equality operators to compare versions are allowed, other comparison operators are discouraged. Instead,
use a function that checks if a functionality is present on a certain version, for maintainability purposes.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/protocol-version.ts#L21" target="_blank" rel="noopener">types/protocol-version.ts, line 21</a></p></div>






        
            
<h3 class="name" id="~responseErrorCodes"><span class="type-signature">(inner) </span>responseErrorCodes<span class="type-signature"></span></h3>




<div class="description">
    <p>Server error codes returned by Cassandra</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L299" target="_blank" rel="noopener">types/index.ts, line 299</a></p></div>






        
            
<h3 class="name" id="~unset"><span class="type-signature">(inner, constant) </span>unset<span class="type-signature"></span></h3>




<div class="description">
    <p>Unset representation.</p>
<p>Use this field if you want to set a parameter to <code>unset</code>. Valid for Cassandra 2.2 and above.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L352" target="_blank" rel="noopener">types/index.ts, line 352</a></p></div>






        
    

    
        </div>

## Methods

<div class="jsdoc-content">

        
            

    

    
    <h3 class="name" id="~generateTimestamp"><span class="type-signature">(inner) </span>generateTimestamp<span class="signature">(date, microseconds)</span><span class="type-signature"></span></h3>
    

    



<div class="description">
    <p>Generates a value representing the timestamp for the query in microseconds based on the date and the microseconds provided</p>
</div>









    <h4>Parameters:</h4>
    

<table class="params docutils align-default">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>date</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>The date to generate the value, if not provided it will use the current date.</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>microseconds</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>A number from 0 to 999 used to build the microseconds part of the date.</p></td>
        </tr>

    
    </tbody>
</table>






<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L547" target="_blank" rel="noopener">types/index.ts, line 547</a></p></div>




















        
            

    

    
    <h3 class="name" id="~splitTypeArgs"><span class="type-signature">(inner) </span>splitTypeArgs<span class="signature">(args)</span><span class="type-signature"></span></h3>
    

    



<div class="description">
    <p>Splits the comma separated arguments of a parameterized type name, ignoring
the commas that belong to the arguments themselves.</p>
</div>









    <h4>Parameters:</h4>
    

<table class="params docutils align-default">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>args</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>Everything between the outermost angle brackets.</p></td>
        </tr>

    
    </tbody>
</table>






<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L100" target="_blank" rel="noopener">types/index.ts, line 100</a></p></div>















<h4>Returns:</h4>

        
<div class="param-desc">
    <p>The arguments, trimmed.</p>
</div>







<header>
    
        
    
</header>


    
        

        
    
    

    

    

    
        </div>

## Classes

<div class="jsdoc-content">

        <dl>
            <dt><a href="BigDecimal.html">BigDecimal</a></dt>
            <dd></dd>
        
            <dt><a href="Duration.html">Duration</a></dt>
            <dd></dd>
        
            <dt><a href="InetAddress.html">InetAddress</a></dt>
            <dd></dd>
        
            <dt><a href="Integer.html">Integer</a></dt>
            <dd></dd>
        
            <dt><a href="LocalDate.html">LocalDate</a></dt>
            <dd></dd>
        
            <dt><a href="index.html#~LocalTime">LocalTime</a></dt>
            <dd></dd>
        
            <dt><a href="ResultStream.html">ResultStream</a></dt>
            <dd></dd>
        
            <dt><a href="Row.html">Row</a></dt>
            <dd></dd>
        
            <dt><a href="TimeUuid.html">TimeUuid</a></dt>
            <dd></dd>
        
            <dt><a href="Tuple.html">Tuple</a></dt>
            <dd></dd>
        
            <dt><a href="Uuid.html">Uuid</a></dt>
            <dd></dd>
        </dl>
    

    

    

    

    
        </div>

## Members

<div class="jsdoc-content">

        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the hour component of the time represented by the current instance, a number from 0 to 23.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L51" target="_blank" rel="noopener">types/local-time.ts, line 51</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the minute component of the time represented by the current instance, a number from 0 to 59.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L55" target="_blank" rel="noopener">types/local-time.ts, line 55</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the second component of the time represented by the current instance, a number from 0 to 59.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L59" target="_blank" rel="noopener">types/local-time.ts, line 59</a></p></div>






        
            
<h3 class="name" id="~LocalTime"><span class="type-signature">(inner) </span>LocalTime<span class="type-signature"></span></h3>




<div class="description">
    <p>Gets the nanoseconds component of the time represented by the current instance, a number from 0 to 999999999.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-time.ts#L63" target="_blank" rel="noopener">types/local-time.ts, line 63</a></p></div>






        
            
<h3 class="name" id="~Long"><span class="type-signature">(inner, constant) </span>Long<span class="type-signature"></span></h3>




<div class="description">
    <p>Long constructor, wrapper of the internal library used: <a href="https://github.com/dcodeIO/long.js">Long.js</a>.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L14" target="_blank" rel="noopener">types/index.ts, line 14</a></p></div>






        
            
<h3 class="name" id="~consistencies"><span class="type-signature">(inner) </span>consistencies<span class="type-signature"></span></h3>




<div class="description">
    <p>Consistency levels</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L27" target="_blank" rel="noopener">types/index.ts, line 27</a></p></div>






        
            
<h3 class="name" id="~consistencyToString"><span class="type-signature">(inner, constant) </span>consistencyToString<span class="type-signature"></span></h3>




<div class="description">
    <p>Mapping of consistency level codes to their string representation.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L80" target="_blank" rel="noopener">types/index.ts, line 80</a></p></div>






        
            
<h3 class="name" id="~dataTypes"><span class="type-signature">(inner) </span>dataTypes<span class="type-signature"></span></h3>




<div class="description">
    <p>CQL data types</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L122" target="_blank" rel="noopener">types/index.ts, line 122</a></p></div>






        
            
<h3 class="name" id="~dateCenter"><span class="type-signature">(inner, constant) </span>dateCenter<span class="type-signature"></span></h3>




<div class="description">
    <p>2^31 days before unix epoch is -5877641-06-23. This is the first day that can be represented by this class.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/local-date.ts#L9" target="_blank" rel="noopener">types/local-date.ts, line 9</a></p></div>






        
            
<h3 class="name" id="~distance"><span class="type-signature">(inner) </span>distance<span class="type-signature"></span></h3>




<div class="description">
    <p>Represents the distance of Cassandra node as assigned by a LoadBalancingPolicy relatively to the driver instance.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L269" target="_blank" rel="noopener">types/index.ts, line 269</a></p></div>






        
            
<h3 class="name" id="~logLevels"><span class="type-signature">(inner) </span>logLevels<span class="type-signature"></span></h3>




<div class="description">
    <p>Log level values used for the <code>logLevel</code> client option and emitted in <code>'log'</code> events.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L281" target="_blank" rel="noopener">types/index.ts, line 281</a></p></div>






        
            
<h3 class="name" id="~longAny"><span class="type-signature">(inner, constant) </span>longAny<span class="type-signature"></span></h3>




<div class="description">
    <p>The <code>long</code> library is not augmentable through <code>declare module</code>, and its own
typings naturally don't know about the statics and prototype methods the
driver installs on it below, so they are attached through an untyped view of
it. They were not part of the hand-written declarations either.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L22" target="_blank" rel="noopener">types/index.ts, line 22</a></p></div>






        
            
<h3 class="name" id="~protocolVersion"><span class="type-signature">(inner) </span>protocolVersion<span class="type-signature"></span></h3>




<div class="description">
    <p>Contains information for the different protocol versions supported by the driver.</p>
<p>Strict equality operators to compare versions are allowed, other comparison operators are discouraged. Instead,
use a function that checks if a functionality is present on a certain version, for maintainability purposes.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/protocol-version.ts#L21" target="_blank" rel="noopener">types/protocol-version.ts, line 21</a></p></div>






        
            
<h3 class="name" id="~responseErrorCodes"><span class="type-signature">(inner) </span>responseErrorCodes<span class="type-signature"></span></h3>




<div class="description">
    <p>Server error codes returned by Cassandra</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L299" target="_blank" rel="noopener">types/index.ts, line 299</a></p></div>






        
            
<h3 class="name" id="~unset"><span class="type-signature">(inner, constant) </span>unset<span class="type-signature"></span></h3>




<div class="description">
    <p>Unset representation.</p>
<p>Use this field if you want to set a parameter to <code>unset</code>. Valid for Cassandra 2.2 and above.</p>
</div>







<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L352" target="_blank" rel="noopener">types/index.ts, line 352</a></p></div>






        
    

    
        </div>

## Methods

<div class="jsdoc-content">

        
            

    

    
    <h3 class="name" id="~generateTimestamp"><span class="type-signature">(inner) </span>generateTimestamp<span class="signature">(date, microseconds)</span><span class="type-signature"></span></h3>
    

    



<div class="description">
    <p>Generates a value representing the timestamp for the query in microseconds based on the date and the microseconds provided</p>
</div>









    <h4>Parameters:</h4>
    

<table class="params docutils align-default">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>date</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>The date to generate the value, if not provided it will use the current date.</p></td>
        </tr>

    

        <tr>
            
                <td class="name"><code>microseconds</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>A number from 0 to 999 used to build the microseconds part of the date.</p></td>
        </tr>

    
    </tbody>
</table>






<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L547" target="_blank" rel="noopener">types/index.ts, line 547</a></p></div>




















        
            

    

    
    <h3 class="name" id="~splitTypeArgs"><span class="type-signature">(inner) </span>splitTypeArgs<span class="signature">(args)</span><span class="type-signature"></span></h3>
    

    



<div class="description">
    <p>Splits the comma separated arguments of a parameterized type name, ignoring
the commas that belong to the arguments themselves.</p>
</div>









    <h4>Parameters:</h4>
    

<table class="params docutils align-default">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>args</code></td>
            

            <td class="type">
            
            </td>

            

            

            <td class="description last"><p>Everything between the outermost angle brackets.</p></td>
        </tr>

    
    </tbody>
</table>






<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.7.1/lib/types/index.ts#L100" target="_blank" rel="noopener">types/index.ts, line 100</a></p></div>















<h4>Returns:</h4>

        
<div class="param-desc">
    <p>The arguments, trimmed.</p>
</div></div>
