Cassandra\TupleIntegrationTest::testPartial PHP Метод

testPartial() публичный Метод

This test will ensure that partial tuples return the correct value.
public testPartial ( )
    public function testPartial()
    {
        $tupleType = Type::tuple(Type::int(), Type::varchar(), Type::bigint());
        $tuple = $tupleType->create();
        $tuple->set(0, 99);
        $this->createTableInsertAndVerifyValueByIndex($tupleType, $tuple);
        $tuple = $tupleType->create();
        $tuple->set(1, "abc");
        $this->createTableInsertAndVerifyValueByIndex($tupleType, $tuple);
        $tuple = $tupleType->create();
        $tuple->set(2, new Bigint("999999999999"));
        $this->createTableInsertAndVerifyValueByIndex($tupleType, $tuple);
    }