com.datastax.driver.core.querybuilder
Class Select.Builder
java.lang.Object
com.datastax.driver.core.querybuilder.Select.Builder
- Direct Known Subclasses:
- Select.Selection
- Enclosing class:
- Select
public static class Select.Builder
- extends Object
An in-construction SELECT statement.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
columnNames
protected List<Object> columnNames
Select.Builder
protected Select.Builder()
from
public Select from(String table)
- Adds the table to select from.
- Parameters:
table
- the name of the table to select from.
- Returns:
- a newly built SELECT statement that selects from
table
.
from
public Select from(String keyspace,
String table)
- Adds the table to select from.
- Parameters:
keyspace
- the name of the keyspace to select from.table
- the name of the table to select from.
- Returns:
- a newly built SELECT statement that selects from
keyspace.table
.
from
public Select from(TableMetadata table)
- Adds the table to select from.
- Parameters:
table
- the table to select from.
- Returns:
- a newly built SELECT statement that selects from
table
.
Copyright © 2013. All Rights Reserved.