本文整理汇总了Java中com.datastax.driver.core.ResultSetFuture类的典型用法代码示例。如果您正苦于以下问题:Java ResultSetFuture类的具体用法?Java ResultSetFuture怎么用?Java ResultSetFuture使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ResultSetFuture类属于com.datastax.driver.core包,在下文中一共展示了ResultSetFuture类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: executeAsyncInsert
import com.datastax.driver.core.ResultSetFuture; //导入依赖的package包/类
/**
* executeAsyncInsert
* executes Insert Query asynchronously
* @param yearmonthday
* @param airportcode
* @param seqid
* @param userid
* @param lastactiveyearmonthday
* @return ResultSetFuture
* @throws Exception
*/
public ResultSetFuture executeAsyncInsert (
Object yearmonthday,
Object airportcode,
Object seqid,
Object userid,
Object lastactiveyearmonthday) throws Exception {
return
this.getQuery(kInsertName).executeAsync(
yearmonthday,
airportcode,
seqid,
userid,
lastactiveyearmonthday);
}
示例2: executeAsyncInsertWithoutLocation
import com.datastax.driver.core.ResultSetFuture; //导入依赖的package包/类
/**
* executeAsyncInsertWithoutLocation
* executes InsertWithoutLocation Query asynchronously
* @param postid
* @param posttime
* @param photoid
* @param caption
* @param userid
* @return ResultSetFuture
* @throws Exception
*/
public ResultSetFuture executeAsyncInsertWithoutLocation (
Object postid,
Object posttime,
Object photoid,
Object caption,
Object userid) throws Exception {
return
this.getQuery(kInsertWithoutLocationName).executeAsync(
postid,
posttime,
photoid,
caption,
userid);
}
示例3: executeAsyncInsert
import com.datastax.driver.core.ResultSetFuture; //导入依赖的package包/类
/**
* executeAsyncInsert
* executes Insert Query asynchronously
* @param yearmonthdayuserid
* @param logtime
* @param requestid
* @param controllername
* @param request
* @param responsestatuscode
* @param response
* @param runtimemilliseconds
* @return ResultSetFuture
* @throws Exception
*/
public ResultSetFuture executeAsyncInsert (
Object yearmonthdayuserid,
Object logtime,
Object requestid,
Object controllername,
Object request,
Object responsestatuscode,
Object response,
Object runtimemilliseconds) throws Exception {
return
this.getQuery(kInsertName).executeAsync(
yearmonthdayuserid,
logtime,
requestid,
controllername,
request,
responsestatuscode,
response,
runtimemilliseconds);
}
示例4: executeAsyncInsert
import com.datastax.driver.core.ResultSetFuture; //导入依赖的package包/类
/**
* executeAsyncInsert
* executes Insert Query asynchronously
* @param userid
* @param messagetime
* @param senderuserid
* @param receiveruserid
* @param messageid
* @return ResultSetFuture
* @throws Exception
*/
public ResultSetFuture executeAsyncInsert (
Object userid,
Object messagetime,
Object senderuserid,
Object receiveruserid,
Object messageid) throws Exception {
return
this.getQuery(kInsertName).executeAsync(
userid,
messagetime,
senderuserid,
receiveruserid,
messageid);
}
示例5: executeAsyncInsert
import com.datastax.driver.core.ResultSetFuture; //导入依赖的package包/类
/**
* executeAsyncInsert
* executes Insert Query asynchronously
* @param airportcode
* @param latitude
* @param longitude
* @param continent
* @param continentcode
* @param country
* @param countrycode
* @param city
* @param populationinmillions
* @param addedyearmonthday
* @return ResultSetFuture
* @throws Exception
*/
public ResultSetFuture executeAsyncInsert (
Object airportcode,
Object latitude,
Object longitude,
Object continent,
Object continentcode,
Object country,
Object countrycode,
Object city,
Object populationinmillions,
Object addedyearmonthday) throws Exception {
return
this.getQuery(kInsertName).executeAsync(
airportcode,
latitude,
longitude,
continent,
continentcode,
country,
countrycode,
city,
populationinmillions,
addedyearmonthday);
}
示例6: executeAsyncIncrement
import com.datastax.driver.core.ResultSetFuture; //导入依赖的package包/类
/**
* executeAsyncIncrement
* executes Increment Query asynchronously
* @param yearmonthaction
* @return ResultSetFuture
* @throws Exception
*/
public ResultSetFuture executeAsyncIncrement (
Object yearmonthaction) throws Exception {
return
this.getQuery(kIncrementName).executeAsync(
yearmonthaction);
}
示例7: executeAsyncSelect
import com.datastax.driver.core.ResultSetFuture; //导入依赖的package包/类
/**
* executeAsyncSelect
* executes Select Query asynchronously
* @param postid
* @param userid
* @return ResultSetFuture
* @throws Exception
*/
public ResultSetFuture executeAsyncSelect (
Object postid,
Object userid) throws Exception {
return
this.getQuery(kSelectName).executeAsync(
postid,
userid);
}
示例8: executeAsyncIncrement
import com.datastax.driver.core.ResultSetFuture; //导入依赖的package包/类
/**
* executeAsyncIncrement
* executes Increment Query asynchronously
* @param postid
* @return ResultSetFuture
* @throws Exception
*/
public ResultSetFuture executeAsyncIncrement (
Object postid) throws Exception {
return
this.getQuery(kIncrementName).executeAsync(
postid);
}
示例9: executeAsyncSelect
import com.datastax.driver.core.ResultSetFuture; //导入依赖的package包/类
/**
* executeAsyncSelect
* executes Select Query asynchronously
* @param yearaction
* @return ResultSetFuture
* @throws Exception
*/
public ResultSetFuture executeAsyncSelect (
Object yearaction) throws Exception {
return
this.getQuery(kSelectName).executeAsync(
yearaction);
}
示例10: executeAsyncSelect
import com.datastax.driver.core.ResultSetFuture; //导入依赖的package包/类
/**
* executeAsyncSelect
* executes Select Query asynchronously
* @param yearmonthdayairportcode
* @return ResultSetFuture
* @throws Exception
*/
public ResultSetFuture executeAsyncSelect (
Object yearmonthdayairportcode) throws Exception {
return
this.getQuery(kSelectName).executeAsync(
yearmonthdayairportcode);
}
示例11: executeAsyncDelete
import com.datastax.driver.core.ResultSetFuture; //导入依赖的package包/类
/**
* executeAsyncDelete
* executes Delete Query asynchronously
* @param postid
* @param userid
* @return ResultSetFuture
* @throws Exception
*/
public ResultSetFuture executeAsyncDelete (
Object postid,
Object userid) throws Exception {
return
this.getQuery(kDeleteName).executeAsync(
postid,
userid);
}
示例12: executeAsyncSelect
import com.datastax.driver.core.ResultSetFuture; //导入依赖的package包/类
/**
* executeAsyncSelect
* executes Select Query asynchronously
* @param devicetoken
* @return ResultSetFuture
* @throws Exception
*/
public ResultSetFuture executeAsyncSelect (
Object devicetoken) throws Exception {
return
this.getQuery(kSelectName).executeAsync(
devicetoken);
}
示例13: executeAsyncSelectAtOrAfterLimit
import com.datastax.driver.core.ResultSetFuture; //导入依赖的package包/类
/**
* executeAsyncSelectAtOrAfterLimit
* executes SelectAtOrAfterLimit Query asynchronously
* @param yearmonthday
* @param registrationtime
* @return ResultSetFuture
* @throws Exception
*/
public ResultSetFuture executeAsyncSelectAtOrAfterLimit (
Object yearmonthday,
Object registrationtime) throws Exception {
return
this.getQuery(kSelectAtOrAfterLimitName).executeAsync(
yearmonthday,
registrationtime);
}
示例14: executeAsyncDecrement
import com.datastax.driver.core.ResultSetFuture; //导入依赖的package包/类
/**
* executeAsyncDecrement
* executes Decrement Query asynchronously
* @param userid
* @return ResultSetFuture
* @throws Exception
*/
public ResultSetFuture executeAsyncDecrement (
Object userid) throws Exception {
return
this.getQuery(kDecrementName).executeAsync(
userid);
}
示例15: executeAsyncSelect
import com.datastax.driver.core.ResultSetFuture; //导入依赖的package包/类
/**
* executeAsyncSelect
* executes Select Query asynchronously
* @param userid
* @param devicetoken
* @return ResultSetFuture
* @throws Exception
*/
public ResultSetFuture executeAsyncSelect (
Object userid,
Object devicetoken) throws Exception {
return
this.getQuery(kSelectName).executeAsync(
userid,
devicetoken);
}