cql3: convert ColumnSpecification to C++

Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
This commit is contained in:
Pekka Enberg
2014-12-30 14:12:32 +02:00
committed by Avi Kivity
parent bb46ca9003
commit 7edbcb1ae9
2 changed files with 22 additions and 2 deletions

View File

@@ -15,13 +15,27 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* Copyright 2014 Cloudius Systems
*
* Modified by Cloudius Systems
*/
#ifndef CQL3_COLUMN_SPECIFICATION_HH
#define CQL3_COLUMN_SPECIFICATION_HH
namespace cql3 {
#if 0
package org.apache.cassandra.cql3;
import org.apache.cassandra.db.marshal.AbstractType;
import org.apache.cassandra.db.marshal.ReversedType;
#endif
public class ColumnSpecification
{
class column_specification {
#if 0
public final String ksName;
public final String cfName;
public final ColumnIdentifier name;
@@ -50,4 +64,9 @@ public class ColumnSpecification
{
return type instanceof ReversedType;
}
#endif
};
}
#endif

View File

@@ -18,3 +18,4 @@
#include "variable_specifications.hh"
#include "column_identifier.hh"
#include "column_specification.hh"