class TableIndex {

    public boolean isPrimaryKey(String fieldName)
    {
        if(fieldName == null) return false;
        return fieldName.equals(partitionKey) || fieldName.equals(sortKey);
    }

    public  TableIndex(String name, String partitionKey);
    public  TableIndex(String name, String partitionKey, String sortKey);

}