@Test public void createTest() { Column column; column = Column.create(1, 100); compare(column, 1, 100, "", "", true, 0); column = Column.create(1, 100, 65000); compare(column, 1, 100, "", "", true, 65000); column = Column.create(1, "bar"); compare(column, 1, 0, "", "bar", true, 0); column = Column.create(1, "bar", 65000); compare(column, 1, 0, "", "bar", true, 65000); column = Column.create("foo", 100); compare(column, 0, 100, "foo", "", false, 0); column = Column.create("foo", 100, 65000); compare(column, 0, 100, "foo", "", false, 65000); column = Column.create("foo", "bar"); compare(column, 0, 0, "foo", "bar", false, 0); column = Column.create("foo", "bar", 65000); compare(column, 0, 0, "foo", "bar", false, 65000); column = Column.create(true, 100); compare(column, 1, 100, "", "", true, 0); column = Column.create(true, 100, 65000); compare(column, 1, 100, "", "", true, 65000); column = Column.create(true, "bar"); compare(column, 1, 0, "", "bar", true, 0); column = Column.create(true, "bar", 65000); compare(column, 1, 0, "", "bar", true, 65000); }
public static Column create(long rowID, long columnID) { Column column = new Column(); column.rowID = rowID; column.columnID = columnID; return column; }
Column implements Record { public static Column create(long rowID, long columnID) { Column column = new Column(); column.rowID = rowID; column.columnID = columnID; return column; } }
Column implements Record { public static Column create(long rowID, long columnID) { Column column = new Column(); column.rowID = rowID; column.columnID = columnID; return column; } private  Column(); }
Column implements Record { public static Column create(long rowID, long columnID) { Column column = new Column(); column.rowID = rowID; column.columnID = columnID; return column; } private  Column(); static Column create(long rowID, long columnID); static Column create(long rowID, long columnID, long timestamp); static Column create(long rowID, String columnKey); static Column create(long rowID, String columnKey, long timestamp); static Column create(String rowKey, long columnID); static Column create(String rowKey, long columnID, long timestamp); static Column create(String rowKey, String columnKey); static Column create(String rowKey, String columnKey, long timestamp); static Column create(boolean rowBool, long columnID); static Column create(boolean rowBool, long columnID, long timestamp); static Column create(boolean rowBool, String columnKey); static Column create(boolean rowBool, String columnKey, long timestamp); long getRowID(); String getRowKey(); boolean getRowBool(); long getColumnID(); String getColumnKey(); long getTimestamp(); @Override long shard(long shardWidth); @Override int compareTo(Record other); @Override boolean isDefault(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); }
Column implements Record { public static Column create(long rowID, long columnID) { Column column = new Column(); column.rowID = rowID; column.columnID = columnID; return column; } private  Column(); static Column create(long rowID, long columnID); static Column create(long rowID, long columnID, long timestamp); static Column create(long rowID, String columnKey); static Column create(long rowID, String columnKey, long timestamp); static Column create(String rowKey, long columnID); static Column create(String rowKey, long columnID, long timestamp); static Column create(String rowKey, String columnKey); static Column create(String rowKey, String columnKey, long timestamp); static Column create(boolean rowBool, long columnID); static Column create(boolean rowBool, long columnID, long timestamp); static Column create(boolean rowBool, String columnKey); static Column create(boolean rowBool, String columnKey, long timestamp); long getRowID(); String getRowKey(); boolean getRowBool(); long getColumnID(); String getColumnKey(); long getTimestamp(); @Override long shard(long shardWidth); @Override int compareTo(Record other); @Override boolean isDefault(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static final Column DEFAULT; }