[][src]Trait nebula_graph_fbthrift_storage::server::StorageService

pub trait StorageService: Send + Sync + 'static {
#[must_use]    fn getBound<'life0, 'async_trait>(
        &'life0 self,
        _req: GetNeighborsRequest
    ) -> Pin<Box<dyn Future<Output = Result<QueryResponse, GetBoundExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn boundStats<'life0, 'async_trait>(
        &'life0 self,
        _req: GetNeighborsRequest
    ) -> Pin<Box<dyn Future<Output = Result<QueryStatsResponse, BoundStatsExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn getProps<'life0, 'async_trait>(
        &'life0 self,
        _req: VertexPropRequest
    ) -> Pin<Box<dyn Future<Output = Result<QueryResponse, GetPropsExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn getEdgeProps<'life0, 'async_trait>(
        &'life0 self,
        _req: EdgePropRequest
    ) -> Pin<Box<dyn Future<Output = Result<EdgePropResponse, GetEdgePropsExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn addVertices<'life0, 'async_trait>(
        &'life0 self,
        _req: AddVerticesRequest
    ) -> Pin<Box<dyn Future<Output = Result<ExecResponse, AddVerticesExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn addEdges<'life0, 'async_trait>(
        &'life0 self,
        _req: AddEdgesRequest
    ) -> Pin<Box<dyn Future<Output = Result<ExecResponse, AddEdgesExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn deleteEdges<'life0, 'async_trait>(
        &'life0 self,
        _req: DeleteEdgesRequest
    ) -> Pin<Box<dyn Future<Output = Result<ExecResponse, DeleteEdgesExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn deleteVertices<'life0, 'async_trait>(
        &'life0 self,
        _req: DeleteVerticesRequest
    ) -> Pin<Box<dyn Future<Output = Result<ExecResponse, DeleteVerticesExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn updateVertex<'life0, 'async_trait>(
        &'life0 self,
        _req: UpdateVertexRequest
    ) -> Pin<Box<dyn Future<Output = Result<UpdateResponse, UpdateVertexExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn updateEdge<'life0, 'async_trait>(
        &'life0 self,
        _req: UpdateEdgeRequest
    ) -> Pin<Box<dyn Future<Output = Result<UpdateResponse, UpdateEdgeExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn scanEdge<'life0, 'async_trait>(
        &'life0 self,
        _req: ScanEdgeRequest
    ) -> Pin<Box<dyn Future<Output = Result<ScanEdgeResponse, ScanEdgeExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn scanVertex<'life0, 'async_trait>(
        &'life0 self,
        _req: ScanVertexRequest
    ) -> Pin<Box<dyn Future<Output = Result<ScanVertexResponse, ScanVertexExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn transLeader<'life0, 'async_trait>(
        &'life0 self,
        _req: TransLeaderReq
    ) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, TransLeaderExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn addPart<'life0, 'async_trait>(
        &'life0 self,
        _req: AddPartReq
    ) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, AddPartExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn addLearner<'life0, 'async_trait>(
        &'life0 self,
        _req: AddLearnerReq
    ) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, AddLearnerExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn waitingForCatchUpData<'life0, 'async_trait>(
        &'life0 self,
        _req: CatchUpDataReq
    ) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, WaitingForCatchUpDataExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn removePart<'life0, 'async_trait>(
        &'life0 self,
        _req: RemovePartReq
    ) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, RemovePartExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn memberChange<'life0, 'async_trait>(
        &'life0 self,
        _req: MemberChangeReq
    ) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, MemberChangeExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn checkPeers<'life0, 'async_trait>(
        &'life0 self,
        _req: CheckPeersReq
    ) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, CheckPeersExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn getLeaderPart<'life0, 'async_trait>(
        &'life0 self,
        _req: GetLeaderReq
    ) -> Pin<Box<dyn Future<Output = Result<GetLeaderResp, GetLeaderPartExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn createCheckpoint<'life0, 'async_trait>(
        &'life0 self,
        _req: CreateCPRequest
    ) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, CreateCheckpointExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn dropCheckpoint<'life0, 'async_trait>(
        &'life0 self,
        _req: DropCPRequest
    ) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, DropCheckpointExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn blockingWrites<'life0, 'async_trait>(
        &'life0 self,
        _req: BlockingSignRequest
    ) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, BlockingWritesExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn rebuildTagIndex<'life0, 'async_trait>(
        &'life0 self,
        _req: RebuildIndexRequest
    ) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, RebuildTagIndexExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn rebuildEdgeIndex<'life0, 'async_trait>(
        &'life0 self,
        _req: RebuildIndexRequest
    ) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, RebuildEdgeIndexExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn put<'life0, 'async_trait>(
        &'life0 self,
        _req: PutRequest
    ) -> Pin<Box<dyn Future<Output = Result<ExecResponse, PutExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn get<'life0, 'async_trait>(
        &'life0 self,
        _req: GetRequest
    ) -> Pin<Box<dyn Future<Output = Result<GeneralResponse, GetExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn remove<'life0, 'async_trait>(
        &'life0 self,
        _req: RemoveRequest
    ) -> Pin<Box<dyn Future<Output = Result<ExecResponse, RemoveExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn removeRange<'life0, 'async_trait>(
        &'life0 self,
        _req: RemoveRangeRequest
    ) -> Pin<Box<dyn Future<Output = Result<ExecResponse, RemoveRangeExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn getUUID<'life0, 'async_trait>(
        &'life0 self,
        _req: GetUUIDReq
    ) -> Pin<Box<dyn Future<Output = Result<GetUUIDResp, GetUUIDExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... }
#[must_use] fn lookUpIndex<'life0, 'async_trait>(
        &'life0 self,
        _req: LookUpIndexRequest
    ) -> Pin<Box<dyn Future<Output = Result<LookUpIndexResp, LookUpIndexExn>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Sync + 'async_trait
, { ... } }

Provided methods

#[must_use]fn getBound<'life0, 'async_trait>(
    &'life0 self,
    _req: GetNeighborsRequest
) -> Pin<Box<dyn Future<Output = Result<QueryResponse, GetBoundExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn boundStats<'life0, 'async_trait>(
    &'life0 self,
    _req: GetNeighborsRequest
) -> Pin<Box<dyn Future<Output = Result<QueryStatsResponse, BoundStatsExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn getProps<'life0, 'async_trait>(
    &'life0 self,
    _req: VertexPropRequest
) -> Pin<Box<dyn Future<Output = Result<QueryResponse, GetPropsExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn getEdgeProps<'life0, 'async_trait>(
    &'life0 self,
    _req: EdgePropRequest
) -> Pin<Box<dyn Future<Output = Result<EdgePropResponse, GetEdgePropsExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn addVertices<'life0, 'async_trait>(
    &'life0 self,
    _req: AddVerticesRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, AddVerticesExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn addEdges<'life0, 'async_trait>(
    &'life0 self,
    _req: AddEdgesRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, AddEdgesExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn deleteEdges<'life0, 'async_trait>(
    &'life0 self,
    _req: DeleteEdgesRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, DeleteEdgesExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn deleteVertices<'life0, 'async_trait>(
    &'life0 self,
    _req: DeleteVerticesRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, DeleteVerticesExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn updateVertex<'life0, 'async_trait>(
    &'life0 self,
    _req: UpdateVertexRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateResponse, UpdateVertexExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn updateEdge<'life0, 'async_trait>(
    &'life0 self,
    _req: UpdateEdgeRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateResponse, UpdateEdgeExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn scanEdge<'life0, 'async_trait>(
    &'life0 self,
    _req: ScanEdgeRequest
) -> Pin<Box<dyn Future<Output = Result<ScanEdgeResponse, ScanEdgeExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn scanVertex<'life0, 'async_trait>(
    &'life0 self,
    _req: ScanVertexRequest
) -> Pin<Box<dyn Future<Output = Result<ScanVertexResponse, ScanVertexExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn transLeader<'life0, 'async_trait>(
    &'life0 self,
    _req: TransLeaderReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, TransLeaderExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn addPart<'life0, 'async_trait>(
    &'life0 self,
    _req: AddPartReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, AddPartExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn addLearner<'life0, 'async_trait>(
    &'life0 self,
    _req: AddLearnerReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, AddLearnerExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn waitingForCatchUpData<'life0, 'async_trait>(
    &'life0 self,
    _req: CatchUpDataReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, WaitingForCatchUpDataExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn removePart<'life0, 'async_trait>(
    &'life0 self,
    _req: RemovePartReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, RemovePartExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn memberChange<'life0, 'async_trait>(
    &'life0 self,
    _req: MemberChangeReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, MemberChangeExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn checkPeers<'life0, 'async_trait>(
    &'life0 self,
    _req: CheckPeersReq
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, CheckPeersExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn getLeaderPart<'life0, 'async_trait>(
    &'life0 self,
    _req: GetLeaderReq
) -> Pin<Box<dyn Future<Output = Result<GetLeaderResp, GetLeaderPartExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn createCheckpoint<'life0, 'async_trait>(
    &'life0 self,
    _req: CreateCPRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, CreateCheckpointExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn dropCheckpoint<'life0, 'async_trait>(
    &'life0 self,
    _req: DropCPRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, DropCheckpointExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn blockingWrites<'life0, 'async_trait>(
    &'life0 self,
    _req: BlockingSignRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, BlockingWritesExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn rebuildTagIndex<'life0, 'async_trait>(
    &'life0 self,
    _req: RebuildIndexRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, RebuildTagIndexExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn rebuildEdgeIndex<'life0, 'async_trait>(
    &'life0 self,
    _req: RebuildIndexRequest
) -> Pin<Box<dyn Future<Output = Result<AdminExecResp, RebuildEdgeIndexExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn put<'life0, 'async_trait>(
    &'life0 self,
    _req: PutRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, PutExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn get<'life0, 'async_trait>(
    &'life0 self,
    _req: GetRequest
) -> Pin<Box<dyn Future<Output = Result<GeneralResponse, GetExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn remove<'life0, 'async_trait>(
    &'life0 self,
    _req: RemoveRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, RemoveExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn removeRange<'life0, 'async_trait>(
    &'life0 self,
    _req: RemoveRangeRequest
) -> Pin<Box<dyn Future<Output = Result<ExecResponse, RemoveRangeExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn getUUID<'life0, 'async_trait>(
    &'life0 self,
    _req: GetUUIDReq
) -> Pin<Box<dyn Future<Output = Result<GetUUIDResp, GetUUIDExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

#[must_use]fn lookUpIndex<'life0, 'async_trait>(
    &'life0 self,
    _req: LookUpIndexRequest
) -> Pin<Box<dyn Future<Output = Result<LookUpIndexResp, LookUpIndexExn>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Sync + 'async_trait, 

Loading content...

Implementors

Loading content...