Package org.cassandraunit.dataset.commons

Examples of org.cassandraunit.dataset.commons.ParsedSuperColumn


    parsedRow.setSuperColumns(superColumns);
    return parsedRow;
  }

  private ParsedSuperColumn constructSuperColumn() {
    ParsedSuperColumn parsedSuperColumn = new ParsedSuperColumn();
    parsedSuperColumn.setName("superColumnName02");
    List<ParsedColumn> columns = new ArrayList<ParsedColumn>();
    columns.add(constructColumn("name021", "value021"));
    columns.add(constructColumn("name022", "value022"));
    columns.add(constructColumn("name023", "value023"));
    parsedSuperColumn.setColumns(columns);
    return parsedSuperColumn;
  }
View Full Code Here


    columnFamily2.setDefaultColumnValueType(ParsedDataType.UTF8Type);
    List<ParsedRow> rows2 = new ArrayList<ParsedRow>();
    ParsedRow row2 = new ParsedRow();
    row2.setKey("key02");
    List<ParsedSuperColumn> superColumns = row2.getSuperColumns();
    ParsedSuperColumn superColumn2 = new ParsedSuperColumn();
    superColumn2.setName("superColumnName2");
    List<ParsedColumn> columns2 = superColumn2.getColumns();
    ParsedColumn column2 = new ParsedColumn();
    column2.setName("columnName2");
    column2.setValue("columnValue2");
    columns2.add(column2);
    superColumns.add(superColumn2);
View Full Code Here

TOP

Related Classes of org.cassandraunit.dataset.commons.ParsedSuperColumn

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.