/// <summary> /// Creates a new pipelineable get vertex request /// </summary> /// <param name="myGetEdgeTypeRequest">The get vertex request</param> /// <param name="mySecurity">The security token of the request initiator</param> /// <param name="myTransactionToken">The transaction token</param> public PipelineableRebuildIndicesRequest(RequestRebuildIndices myRebuildIndicesRequest, SecurityToken mySecurity, Int64 myTransactionToken) : base(mySecurity, myTransactionToken) { _request = myRebuildIndicesRequest; }
public TResult RebuildIndices <TResult>( SecurityToken mySecurity, Int64 myTransactionToken, RequestRebuildIndices myRequestRebuildIndices, Converter.RebuildIndicesResultConverter <TResult> myOutputconverter) { var executedRequest = _requestManager.SynchronExecution(new PipelineableRebuildIndicesRequest(myRequestRebuildIndices, mySecurity, myTransactionToken)); return(((PipelineableRebuildIndicesRequest)executedRequest).GenerateRequestResult(myOutputconverter)); }
public override IQueryResult Execute(IGraphDB myGraphDB, IGraphQL myGraphQL, GQLPluginManager myPluginManager, String myQuery, SecurityToken mySecurityToken, Int64 myTransactionToken) { try { var request = new RequestRebuildIndices(_Types); return(myGraphDB.RebuildIndices <IQueryResult>(mySecurityToken, myTransactionToken, request, _ => GenerateOutput(myQuery, _))); } catch (ASonesException ex) { return(QueryResult.Failure(myQuery, SonesGQLConstants.GQL, ex)); } }
public static RequestRebuildIndices MakeRequestRebuildIndices(IEnumerable <string> myTypeNames) { RequestRebuildIndices Request = new RequestRebuildIndices(myTypeNames); return(Request); }
public TResult RebuildIndices <TResult>(sones.Library.Commons.Security.SecurityToken mySecurityToken, Int64 myTransactionToken, RequestRebuildIndices myRequestRebuildIndices, Converter.RebuildIndicesResultConverter <TResult> myOutputconverter) { return(_iGraphDB.RebuildIndices <TResult>(mySecurityToken, myTransactionToken, myRequestRebuildIndices, myOutputconverter)); }
public TResult RebuildIndices <TResult>(SecurityToken mySecurityToken, Int64 myTransactionToken, RequestRebuildIndices myRequestRebuildIndices, Converter.RebuildIndicesResultConverter <TResult> myOutputconverter) { throw new NotImplementedException(); }