C# Class FluentCassandra.Operations.CassandraClientWrapper

显示文件 Open project: nativex/fluentcassandra

Public Methods

Method Description
CassandraClientWrapper ( Apache client ) : System
add ( CassandraObject key, FluentCassandra.Operations.CassandraColumnParent column_parent, CassandraCounterColumn column, Apache consistency_level ) : void
batch_mutate ( Dictionary mutation_map, Apache consistency_level ) : void
describe_cluster_name ( ) : string
describe_keyspace ( string keyspace ) : Apache.Cassandra.KsDef
describe_keyspaces ( ) : List
describe_partitioner ( ) : string
describe_ring ( string keyspace ) : List
describe_schema_versions ( ) : List>.Dictionary
describe_snitch ( ) : string
describe_splits ( string cfName, string start_token, string end_token, int keys_per_split ) : List
describe_token_map ( ) : string>.Dictionary
describe_version ( ) : string
execute_cql_query ( byte query, Apache compression ) : Apache.Cassandra.CqlResult
execute_prepared_cql_query ( int itemId, List values ) : Apache.Cassandra.CqlResult
get ( CassandraObject key, CassandraColumnPath column_path, Apache consistency_level ) : Apache.Cassandra.ColumnOrSuperColumn
get_count ( CassandraObject key, FluentCassandra.Operations.CassandraColumnParent column_parent, FluentCassandra.Operations.CassandraSlicePredicate predicate, Apache consistency_level ) : int
get_indexed_slices ( FluentCassandra.Operations.CassandraColumnParent column_parent, CassandraIndexClause index_clause, FluentCassandra.Operations.CassandraSlicePredicate column_predicate, Apache consistency_level ) : List
get_paged_slice ( string column_family, CassandraKeyRange range, CassandraObject start_column, Apache consistency_level ) : List
get_range_slices ( FluentCassandra.Operations.CassandraColumnParent column_parent, FluentCassandra.Operations.CassandraSlicePredicate predicate, CassandraKeyRange range, Apache consistency_level ) : List
get_slice ( CassandraObject key, FluentCassandra.Operations.CassandraColumnParent column_parent, FluentCassandra.Operations.CassandraSlicePredicate predicate, Apache consistency_level ) : List
insert ( CassandraObject key, FluentCassandra.Operations.CassandraColumnParent column_parent, CassandraColumn column, Apache consistency_level ) : void
login ( Apache auth_request ) : void
multiget_count ( List keys, FluentCassandra.Operations.CassandraColumnParent column_parent, FluentCassandra.Operations.CassandraSlicePredicate predicate, Apache consistency_level ) : int>.Dictionary
multiget_slice ( List keys, FluentCassandra.Operations.CassandraColumnParent column_parent, FluentCassandra.Operations.CassandraSlicePredicate predicate, Apache consistency_level ) : List>.Dictionary
prepare_cql_query ( byte query, Apache compression ) : Apache.Cassandra.CqlPreparedResult
remove ( CassandraObject key, CassandraColumnPath column_path, long timestamp, Apache consistency_level ) : void
remove_counter ( CassandraObject key, CassandraColumnPath path, Apache consistency_level ) : void
set_cql_version ( string version ) : void
set_keyspace ( string keyspace ) : void
system_add_column_family ( Apache cf_def ) : string
system_add_keyspace ( Apache ks_def ) : string
system_drop_column_family ( string column_family ) : string
system_drop_keyspace ( string keyspace ) : string
system_update_column_family ( Apache cf_def ) : string
system_update_keyspace ( Apache ks_def ) : string
truncate ( string cfname ) : void

Method Details

CassandraClientWrapper() public method

public CassandraClientWrapper ( Apache client ) : System
client Apache
return System

add() public method

public add ( CassandraObject key, FluentCassandra.Operations.CassandraColumnParent column_parent, CassandraCounterColumn column, Apache consistency_level ) : void
key CassandraObject
column_parent FluentCassandra.Operations.CassandraColumnParent
column CassandraCounterColumn
consistency_level Apache
return void

batch_mutate() public method

public batch_mutate ( Dictionary mutation_map, Apache consistency_level ) : void
mutation_map Dictionary
consistency_level Apache
return void

describe_cluster_name() public method

public describe_cluster_name ( ) : string
return string

describe_keyspace() public method

public describe_keyspace ( string keyspace ) : Apache.Cassandra.KsDef
keyspace string
return Apache.Cassandra.KsDef

describe_keyspaces() public method

public describe_keyspaces ( ) : List
return List

describe_partitioner() public method

public describe_partitioner ( ) : string
return string

describe_ring() public method

public describe_ring ( string keyspace ) : List
keyspace string
return List

describe_schema_versions() public method

public describe_schema_versions ( ) : List>.Dictionary
return List>.Dictionary

describe_snitch() public method

public describe_snitch ( ) : string
return string

describe_splits() public method

public describe_splits ( string cfName, string start_token, string end_token, int keys_per_split ) : List
cfName string
start_token string
end_token string
keys_per_split int
return List

describe_token_map() public method

public describe_token_map ( ) : string>.Dictionary
return string>.Dictionary

describe_version() public method

public describe_version ( ) : string
return string

execute_cql_query() public method

public execute_cql_query ( byte query, Apache compression ) : Apache.Cassandra.CqlResult
query byte
compression Apache
return Apache.Cassandra.CqlResult

execute_prepared_cql_query() public method

public execute_prepared_cql_query ( int itemId, List values ) : Apache.Cassandra.CqlResult
itemId int
values List
return Apache.Cassandra.CqlResult

get() public method

public get ( CassandraObject key, CassandraColumnPath column_path, Apache consistency_level ) : Apache.Cassandra.ColumnOrSuperColumn
key CassandraObject
column_path CassandraColumnPath
consistency_level Apache
return Apache.Cassandra.ColumnOrSuperColumn

get_count() public method

public get_count ( CassandraObject key, FluentCassandra.Operations.CassandraColumnParent column_parent, FluentCassandra.Operations.CassandraSlicePredicate predicate, Apache consistency_level ) : int
key CassandraObject
column_parent FluentCassandra.Operations.CassandraColumnParent
predicate FluentCassandra.Operations.CassandraSlicePredicate
consistency_level Apache
return int

get_indexed_slices() public method

public get_indexed_slices ( FluentCassandra.Operations.CassandraColumnParent column_parent, CassandraIndexClause index_clause, FluentCassandra.Operations.CassandraSlicePredicate column_predicate, Apache consistency_level ) : List
column_parent FluentCassandra.Operations.CassandraColumnParent
index_clause CassandraIndexClause
column_predicate FluentCassandra.Operations.CassandraSlicePredicate
consistency_level Apache
return List

get_paged_slice() public method

public get_paged_slice ( string column_family, CassandraKeyRange range, CassandraObject start_column, Apache consistency_level ) : List
column_family string
range CassandraKeyRange
start_column CassandraObject
consistency_level Apache
return List

get_range_slices() public method

public get_range_slices ( FluentCassandra.Operations.CassandraColumnParent column_parent, FluentCassandra.Operations.CassandraSlicePredicate predicate, CassandraKeyRange range, Apache consistency_level ) : List
column_parent FluentCassandra.Operations.CassandraColumnParent
predicate FluentCassandra.Operations.CassandraSlicePredicate
range CassandraKeyRange
consistency_level Apache
return List

get_slice() public method

public get_slice ( CassandraObject key, FluentCassandra.Operations.CassandraColumnParent column_parent, FluentCassandra.Operations.CassandraSlicePredicate predicate, Apache consistency_level ) : List
key CassandraObject
column_parent FluentCassandra.Operations.CassandraColumnParent
predicate FluentCassandra.Operations.CassandraSlicePredicate
consistency_level Apache
return List

insert() public method

public insert ( CassandraObject key, FluentCassandra.Operations.CassandraColumnParent column_parent, CassandraColumn column, Apache consistency_level ) : void
key CassandraObject
column_parent FluentCassandra.Operations.CassandraColumnParent
column CassandraColumn
consistency_level Apache
return void

login() public method

public login ( Apache auth_request ) : void
auth_request Apache
return void

multiget_count() public method

public multiget_count ( List keys, FluentCassandra.Operations.CassandraColumnParent column_parent, FluentCassandra.Operations.CassandraSlicePredicate predicate, Apache consistency_level ) : int>.Dictionary
keys List
column_parent FluentCassandra.Operations.CassandraColumnParent
predicate FluentCassandra.Operations.CassandraSlicePredicate
consistency_level Apache
return int>.Dictionary

multiget_slice() public method

public multiget_slice ( List keys, FluentCassandra.Operations.CassandraColumnParent column_parent, FluentCassandra.Operations.CassandraSlicePredicate predicate, Apache consistency_level ) : List>.Dictionary
keys List
column_parent FluentCassandra.Operations.CassandraColumnParent
predicate FluentCassandra.Operations.CassandraSlicePredicate
consistency_level Apache
return List>.Dictionary

prepare_cql_query() public method

public prepare_cql_query ( byte query, Apache compression ) : Apache.Cassandra.CqlPreparedResult
query byte
compression Apache
return Apache.Cassandra.CqlPreparedResult

remove() public method

public remove ( CassandraObject key, CassandraColumnPath column_path, long timestamp, Apache consistency_level ) : void
key CassandraObject
column_path CassandraColumnPath
timestamp long
consistency_level Apache
return void

remove_counter() public method

public remove_counter ( CassandraObject key, CassandraColumnPath path, Apache consistency_level ) : void
key CassandraObject
path CassandraColumnPath
consistency_level Apache
return void

set_cql_version() public method

public set_cql_version ( string version ) : void
version string
return void

set_keyspace() public method

public set_keyspace ( string keyspace ) : void
keyspace string
return void

system_add_column_family() public method

public system_add_column_family ( Apache cf_def ) : string
cf_def Apache
return string

system_add_keyspace() public method

public system_add_keyspace ( Apache ks_def ) : string
ks_def Apache
return string

system_drop_column_family() public method

public system_drop_column_family ( string column_family ) : string
column_family string
return string

system_drop_keyspace() public method

public system_drop_keyspace ( string keyspace ) : string
keyspace string
return string

system_update_column_family() public method

public system_update_column_family ( Apache cf_def ) : string
cf_def Apache
return string

system_update_keyspace() public method

public system_update_keyspace ( Apache ks_def ) : string
ks_def Apache
return string

truncate() public method

public truncate ( string cfname ) : void
cfname string
return void