@ThriftMethod public void deleteCheckpoint(String application, String environment, int shard);
@ThriftMethod public String getCheckpoint(String application, String environment, int shard);
/** * Call this when you want to log an error line from any mapper to command * line * * @param logLine Line to log */ @ThriftMethod void logError(String logLine);
/** * Call this when you want to log an info line from any mapper to command line * * @param logLine Line to log */ @ThriftMethod void logInfo(String logLine);
/** * Workers should call this method to update their progress * * @param workerProgress Progress of the worker */ @ThriftMethod void updateProgress(WorkerProgress workerProgress); }
/** * Notify that job is failing * * @param reason Reason for failure */ @ThriftMethod void logFailure(String reason);
@ThriftMethod public void Log(List<String> messages) throws TException { } }
@ThriftMethod(value = "TaoFBTypeGet", exception = { @ThriftException(type=RocksException.class, id=1) }) TaoFBTypeGetResult TaoFBTypeGet( @ThriftField(value=1, name="fbid", requiredness=Requiredness.NONE) final long fbid ) throws RocksException, org.apache.thrift.TException;
@Override @ThriftMethod public GenericStruct<String> echo(GenericStruct<String> genericObject) { return genericObject; } }
@ThriftMethod(value = "TaoFBTypeGet", exception = { @ThriftException(type=RocksException.class, id=1) }) ListenableFuture<TaoFBTypeGetResult> TaoFBTypeGet( @ThriftField(value=1, name="fbid", requiredness=Requiredness.NONE) final long fbid );
@ThriftMethod("Log") public ResultCode log(List<LogEntry> messages) { return ResultCode.OK; } }
@ThriftMethod List<ReadResultQueryInfo> mergeQueryAggregation( MergeAggregationQueryInfo mergeAggregationQueryInfo ) throws ReadSemanticException;
@ThriftMethod public void sleep(int seconds) { Uninterruptibles.sleepUninterruptibly(seconds, TimeUnit.SECONDS); } }
@ThriftMethod(value = "TaoFBObjectGet", exception = { @ThriftException(type=RocksException.class, id=1) }) TaoFBObjectGetResult TaoFBObjectGet( @ThriftField(value=1, name="fbid", requiredness=Requiredness.NONE) final long fbid, @ThriftField(value=2, name="fbtype", requiredness=Requiredness.NONE) final int fbtype ) throws RocksException, org.apache.thrift.TException;
@ThriftMethod(value = "TaoFBObjectGet", exception = { @ThriftException(type=RocksException.class, id=1) }) ListenableFuture<TaoFBObjectGetResult> TaoFBObjectGet( @ThriftField(value=1, name="fbid", requiredness=Requiredness.NONE) final long fbid, @ThriftField(value=2, name="fbtype", requiredness=Requiredness.NONE) final int fbtype );
@ThriftMethod public void extraStruct() { initializeLastParamValues(); }
@ThriftMethod(value = "TaoAssocCount", exception = { @ThriftException(type=RocksException.class, id=1) }) ListenableFuture<Long> TaoAssocCount( @ThriftField(value=1, name="tableName", requiredness=Requiredness.NONE) final byte [] tableName, @ThriftField(value=2, name="assocType", requiredness=Requiredness.NONE) final long assocType, @ThriftField(value=3, name="id1", requiredness=Requiredness.NONE) final long id1 );
@ThriftMethod(value = "TaoAssocCount", exception = { @ThriftException(type=RocksException.class, id=1) }) long TaoAssocCount( @ThriftField(value=1, name="tableName", requiredness=Requiredness.NONE) final byte [] tableName, @ThriftField(value=2, name="assocType", requiredness=Requiredness.NONE) final long assocType, @ThriftField(value=3, name="id1", requiredness=Requiredness.NONE) final long id1 ) throws RocksException, org.apache.thrift.TException;
@ThriftMethod(value = "TaoFBObjectDel", exception = { @ThriftException(type=RocksException.class, id=1) }) ListenableFuture<Void> TaoFBObjectDel( @ThriftField(value=1, name="fbid", requiredness=Requiredness.NONE) final long fbid, @ThriftField(value=2, name="fbtype", requiredness=Requiredness.NONE) final int fbtype, @ThriftField(value=3, name="wormhole_comment", requiredness=Requiredness.NONE) final byte [] wormholeComment, @ThriftField(value=4, name="woptions", requiredness=Requiredness.NONE) final WriteOptions woptions );
@ThriftMethod(value = "TaoFBObjectDel", exception = { @ThriftException(type=RocksException.class, id=1) }) void TaoFBObjectDel( @ThriftField(value=1, name="fbid", requiredness=Requiredness.NONE) final long fbid, @ThriftField(value=2, name="fbtype", requiredness=Requiredness.NONE) final int fbtype, @ThriftField(value=3, name="wormhole_comment", requiredness=Requiredness.NONE) final byte [] wormholeComment, @ThriftField(value=4, name="woptions", requiredness=Requiredness.NONE) final WriteOptions woptions ) throws RocksException, org.apache.thrift.TException;