columnsDefinition.add(createColumnDefinition("t_long", ComparatorType.LONGTYPE));
columnsDefinition.add(createColumnDefinition("t_boolean", ComparatorType.BOOLEANTYPE));
columnsDefinition.add(createColumnDefinition("t_uuid", ComparatorType.UUIDTYPE));
columnsDefinition.add(createColumnDefinition("t_lexical_uuid", ComparatorType.LEXICALUUIDTYPE));
ColumnFamilyDefinition cfDef = HFactory.createColumnFamilyDefinition(
keyspaceName,
columnFamilyName,
ComparatorType.UTF8TYPE,
columnsDefinition.build());
cfDef.setColumnType(ColumnType.STANDARD);
cfDef.setComment("presto test table");
cfDef.setKeyValidationClass(ComparatorType.UTF8TYPE.getTypeName());
columnFamilyDefinitions.add(cfDef);
return columnFamilyDefinitions;
}