本文整理汇总了C#中CassandraObject.TryToBigEndian方法的典型用法代码示例。如果您正苦于以下问题:C# CassandraObject.TryToBigEndian方法的具体用法?C# CassandraObject.TryToBigEndian怎么用?C# CassandraObject.TryToBigEndian使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CassandraObject
的用法示例。
在下文中一共展示了CassandraObject.TryToBigEndian方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: get
public Apache.Cassandra.ColumnOrSuperColumn get(CassandraObject key, CassandraColumnPath column_path, Apache.Cassandra.ConsistencyLevel consistency_level)
{
return _client.get(
key.TryToBigEndian(),
Helper.CreateColumnPath(column_path),
consistency_level);
}
示例2: add
public void add(CassandraObject key, CassandraColumnParent column_parent, CassandraCounterColumn column, Apache.Cassandra.ConsistencyLevel consistency_level)
{
_client.add(
key.TryToBigEndian(),
Helper.CreateColumnParent(column_parent),
Helper.CreateCounterColumn(column),
consistency_level);
}
示例3: get_count
public int get_count(CassandraObject key, CassandraColumnParent column_parent, CassandraSlicePredicate predicate, Apache.Cassandra.ConsistencyLevel consistency_level)
{
return _client.get_count(
key.TryToBigEndian(),
Helper.CreateColumnParent(column_parent),
Helper.CreateSlicePredicate(predicate),
consistency_level);
}
示例4: remove_counter
public void remove_counter(CassandraObject key, CassandraColumnPath path, Apache.Cassandra.ConsistencyLevel consistency_level)
{
_client.remove_counter(
key.TryToBigEndian(),
Helper.CreateColumnPath(path),
consistency_level);
}
示例5: remove
public void remove(CassandraObject key, CassandraColumnPath column_path, long timestamp, Apache.Cassandra.ConsistencyLevel consistency_level)
{
_client.remove(
key.TryToBigEndian(),
Helper.CreateColumnPath(column_path),
timestamp,
consistency_level);
}
示例6: get_paged_slice
public List<Apache.Cassandra.KeySlice> get_paged_slice(string column_family, CassandraKeyRange range, CassandraObject start_column, Apache.Cassandra.ConsistencyLevel consistency_level)
{
return _client.get_paged_slice(
column_family,
Helper.CreateKeyRange(range),
start_column.TryToBigEndian(),
consistency_level);
}