public static function setUpBeforeClass() { parent::setUpBeforeClass(); $sys = new SystemManager(); $cfattrs = array("column_type" => "Super", "comparator_type" => "Int32Type"); if (self::$have64Bit) { $cfattrs["subcomparator_type"] = DataType::LONG_TYPE; $sys->create_column_family(self::$KS, 'SuperLongSubLong', $cfattrs); } $cfattrs["subcomparator_type"] = DataType::INTEGER_TYPE; $sys->create_column_family(self::$KS, 'SuperLongSubInt', $cfattrs); $cfattrs["subcomparator_type"] = DataType::ASCII_TYPE; $sys->create_column_family(self::$KS, 'SuperLongSubAscii', $cfattrs); $cfattrs["subcomparator_type"] = DataType::UTF8_TYPE; $sys->create_column_family(self::$KS, 'SuperLongSubUTF8', $cfattrs); }
public static function setUpBeforeClass() { parent::setUpBeforeClass(); $sys = new SystemManager(); $cfattrs = array("column_type" => "Super", "comparator_type" => "Int32Type"); $cfattrs["subcomparator_type"] = DataType::FLOAT_TYPE; $sys->create_column_family(self::$KS, 'SuperLongSubFloat', $cfattrs); $cfattrs["subcomparator_type"] = DataType::DOUBLE_TYPE; $sys->create_column_family(self::$KS, 'SuperLongSubDouble', $cfattrs); $cfattrs["subcomparator_type"] = DataType::TIME_UUID_TYPE; $sys->create_column_family(self::$KS, 'SuperLongSubTime', $cfattrs); $cfattrs["subcomparator_type"] = DataType::LEXICAL_UUID_TYPE; $sys->create_column_family(self::$KS, 'SuperLongSubLex', $cfattrs); $cfattrs["subcomparator_type"] = "CompositeType(Int32Type, AsciiType)"; $sys->create_column_family(self::$KS, 'SuperLongSubComposite', $cfattrs); }