当前位置: 首页>>代码示例>>Java>>正文


Java CQLStatement类代码示例

本文整理汇总了Java中org.apache.cassandra.cql.CQLStatement的典型用法代码示例。如果您正苦于以下问题:Java CQLStatement类的具体用法?Java CQLStatement怎么用?Java CQLStatement使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


CQLStatement类属于org.apache.cassandra.cql包,在下文中一共展示了CQLStatement类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: PreparationContext

import org.apache.cassandra.cql.CQLStatement; //导入依赖的package包/类
public PreparationContext(ThriftClientState clientState, String queryString, CQLStatement statement)
{
    this.clientState = clientState;
    this.queryString = queryString;
    this.statement = statement;
}
 
开发者ID:vcostet,项目名称:cassandra-kmean,代码行数:7,代码来源:PreparationContext.java

示例2: removeEldestEntry

import org.apache.cassandra.cql.CQLStatement; //导入依赖的package包/类
protected boolean removeEldestEntry(Map.Entry<Integer, CQLStatement> eldest)
{
    return size() > MAX_CACHE_PREPARED;
}
 
开发者ID:vcostet,项目名称:cassandra-kmean,代码行数:5,代码来源:ThriftClientState.java

示例3: getPrepared

import org.apache.cassandra.cql.CQLStatement; //导入依赖的package包/类
public Map<Integer, CQLStatement> getPrepared()
{
    return prepared;
}
 
开发者ID:vcostet,项目名称:cassandra-kmean,代码行数:5,代码来源:ThriftClientState.java

示例4: removeEldestEntry

import org.apache.cassandra.cql.CQLStatement; //导入依赖的package包/类
protected boolean removeEldestEntry(Map.Entry<Integer, CQLStatement> eldest) {
    return size() > MAX_CACHE_PREPARED;
}
 
开发者ID:dprguiuc,项目名称:Cassandra-Wasef,代码行数:4,代码来源:ThriftClientState.java

示例5: processStatement

import org.apache.cassandra.cql.CQLStatement; //导入依赖的package包/类
/**
 * Called in QueryProcessor, once a CQL statement has been prepared.
 *
 * @param statement the statement to perform additional processing on
 * @param context preparation context containing additional info
 *                about the operation and statement
 * @throws RequestValidationException
 */
void processStatement(CQLStatement statement, PreparationContext context) throws RequestValidationException;
 
开发者ID:vcostet,项目名称:cassandra-kmean,代码行数:10,代码来源:PostPreparationHook.java

示例6: processStatement

import org.apache.cassandra.cql.CQLStatement; //导入依赖的package包/类
/**
 * Perform pre-processing on a CQL statement prior to it being
 * executed by the QueryProcessor. If required, implementations
 * may modify the statement as the returned instance is what
 * is actually executed.
 *
 * @param statement the statement to perform pre-processing on
 * @param context execution context containing additional info
 *                about the operation and statement
 * @return the actual statement that will be executed, possibly
 *         a modification of the initial statement
 * @throws RequestExecutionException, RequestValidationException
 */
CQLStatement processStatement(CQLStatement statement, ExecutionContext context) throws RequestExecutionException, RequestValidationException;
 
开发者ID:vcostet,项目名称:cassandra-kmean,代码行数:15,代码来源:PreExecutionHook.java


注:本文中的org.apache.cassandra.cql.CQLStatement类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。