本文整理匯總了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);
}