# TableMetadata

<div class="jsdoc-content"><header>
    
        <h2><span class="attribs"><span class="type-signature"></span></span>
            <span class="ancestors"><a href="index.html">metadata</a>~</span>TableMetadata<span class="signature">()</span><span class="type-signature"></span></h2>
        
            <div class="class-description"><p>Describes a table in the cluster.</p></div>
        
    
</header>


    
        

    
    </div>

## Constructor

<div class="jsdoc-content">
    

    
    <h4 class="name" id="TableMetadata"><span class="type-signature"></span>new TableMetadata<span class="signature">()</span><span class="type-signature"></span></h4>
    

    















<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.6.1/lib/metadata/table-metadata.js#L48" target="_blank" rel="noopener">metadata/table-metadata.js, line 48</a></p></div>




















    
    

    

    

    

    

    

    

    
        </div>

## Members

<div class="jsdoc-content">

        
            
<h4 class="name" id="clusteringKey"><span class="type-signature"></span>clusteringKey<span class="type-signature"> :Array&lt;String></span></h4>




<div class="description">
    <p>Names of the columns that constitute the clustering key.
All names are guaranteed to be present in columns.</p>
</div>



    <h5>Type:</h5>
    <ul>
        <li>
            
<span class="param-type">Array&lt;String></span>


        </li>
    </ul>





<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.6.1/lib/metadata/table-metadata.js#L69" target="_blank" rel="noopener">metadata/table-metadata.js, line 69</a></p></div>






        
            
<h4 class="name" id="columns"><span class="type-signature"></span>columns<span class="type-signature"> :Object&lt;String, ColumnMetadata></span></h4>




<div class="description">
    <p>Columns that constitute the table, keyed by column name.</p>
<p>This type does not contain information about the order of the columns in the table.</p>
</div>



    <h5>Type:</h5>
    <ul>
        <li>
            
<span class="param-type">Object&lt;String, ColumnMetadata></span>


        </li>
    </ul>





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






        
            
<h4 class="name" id="partitionKey"><span class="type-signature"></span>partitionKey<span class="type-signature"> :Array&lt;String></span></h4>




<div class="description">
    <p>Names of the columns that constitute the partition key.
All names are guaranteed to be present in columns.</p>
</div>



    <h5>Type:</h5>
    <ul>
        <li>
            
<span class="param-type">Array&lt;String></span>


        </li>
    </ul>





<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.6.1/lib/metadata/table-metadata.js#L62" target="_blank" rel="noopener">metadata/table-metadata.js, line 62</a></p></div>






        
            
<h4 class="name" id="partitioner"><span class="type-signature"></span>partitioner<span class="type-signature"> :String|null</span></h4>




<div class="description">
    <p>Name of the partitioner used by the table, or null if not set.</p>
</div>



    <h5>Type:</h5>
    <ul>
        <li>
            
<span class="param-type">String</span>
|

<span class="param-type">null</span>


        </li>
    </ul>





<div class="admonition note"><p class="admonition-title">Source</p><p><a href="https://github.com/scylladb/nodejs-rs-driver/blob/v0.6.1/lib/metadata/table-metadata.js#L75" target="_blank" rel="noopener">metadata/table-metadata.js, line 75</a></p></div></div>
