コード例 #1
0
 /// <summary>
 /// Creates a new request gets a vertex type from the Graphdb
 /// </summary>
 /// <param name="myVertexTypeId">The interesting vertex type id</param>
 /// <param name="myEdition">The edition that should be processed</param>
 /// <param name="myTimeSpanDefinition">The timespan that should be processed</param>
 public RequestGetVertexType(Int64 myVertexTypeId, String myEdition = null, TimeSpanDefinition myTimeSpanDefinition = null)
 {
     VertexTypeID = myVertexTypeId;
     Edition = myEdition;
     Timespan = myTimeSpanDefinition;
     VertexTypeName = null;
 }
コード例 #2
0
 /// <summary>
 /// Creates a new property expression
 /// </summary>
 /// <param name="myNameOfVertexType">The name of the vertex type</param>
 /// <param name="myNameOfProperty">The name of the attribute</param>
 /// <param name="myEditionName">The edition that should be processed</param>
 /// <param name="myTimeSpanDefinition">The timespan that should be processed</param>
 public PropertyExpression(String myNameOfVertexType, String myNameOfProperty, String myEditionName = null, TimeSpanDefinition myTimeSpanDefinition = null)
 {
     NameOfVertexType = myNameOfVertexType;
     NameOfProperty = myNameOfProperty;
     Edition = myEditionName;
     Timespan = myTimeSpanDefinition;
 }
コード例 #3
0
ファイル: RequestDescribeIndex.cs プロジェクト: loubo/sones
 /// <summary>
 /// Creates a new request gets a vertex type from the Graphdb
 /// </summary>
 /// <param name="myVertexTypeName">The interesting vertex type name</param>
 /// <param name="myEdition">The edition that should be processed</param>
 /// <param name="myTimeSpanDefinition">The timespan that should be processed</param>
 public RequestDescribeIndex(String myTypeName, String myIndexName, String myEdition = null, TimeSpanDefinition myTimeSpanDefinition = null)
 {
     TypeName = myTypeName;
     IndexName = myIndexName;
     Edition = myEdition;
     Timespan = myTimeSpanDefinition;
 }
コード例 #4
0
ファイル: QueryPlanProperty.cs プロジェクト: anukat2015/sones
 /// <summary>
 /// Create a new query plan property
 /// </summary>
 /// <param name="myVertexType">The interesting vertex type</param>
 /// <param name="myProperty">The interesting property</param>
 public QueryPlanProperty(IVertexType myVertexType, IPropertyDefinition myProperty, String myInterestingEdition, TimeSpanDefinition myInterestingTimeSpan)
 {
     VertexType = myVertexType;
     Property = myProperty;
     Edition = myInterestingEdition;
     Timespan = myInterestingTimeSpan;
 }
コード例 #5
0
 /// <summary>
 /// Creates a new request gets a edge type from the Graphdb
 /// </summary>
 /// <param name="myEdgeTypeID">The interesting edge type id</param>
 /// <param name="myEdition">The edition that should be processed</param>
 /// <param name="myTimeSpanDefinition">The timespan that should be processed</param>
 public RequestGetEdgeType(Int64 myEdgeTypeID, String myEdition = null, TimeSpanDefinition myTimeSpanDefinition = null)
 {
     EdgeTypeName = null;
     Edition = myEdition;
     Timespan = myTimeSpanDefinition;
     EdgeTypeID = myEdgeTypeID;
 }
コード例 #6
0
ファイル: RequestGetVertex.cs プロジェクト: anukat2015/sones
 /// <summary>
 /// Creates a new request gets a vertex from the Graphdb
 /// </summary>
 /// <param name="myVertexTypeName">The vertex type name of the requested vertex</param>
 /// <param name="myVertexID">The id of the requested vertex</param>
 /// <param name="myEdition">The edition that should be processed</param>
 /// <param name="myTimeSpanDefinition">The timespan that should be processed</param>
 public RequestGetVertex(String myVertexTypeName, Int64 myVertexID, String myEdition = null, TimeSpanDefinition myTimeSpanDefinition = null)
 {
     VertexTypeName = myVertexTypeName;
     VertexID = myVertexID;
     Edition = myEdition;
     Timespan = myTimeSpanDefinition;
 }
コード例 #7
0
 public override IVertex GetVertex(long myVertexTypeID, long myVertexID, string myEdition, TimeSpanDefinition myTimespan, Int64 Int64, SecurityToken SecurityToken)
 {
     return _vertexStore.GetVertex(SecurityToken, Int64, myVertexID, myVertexTypeID, (aEdition) => myEdition == aEdition, (aVertexRevisionID) => myTimespan.IsWithinTimeStamp(aVertexRevisionID));
 }
コード例 #8
0
 public override IVertex GetVertex(string myVertexTypeName, long myVertexID, string myEdition, TimeSpanDefinition myTimespan, Int64 myTransactionToken, SecurityToken mySecurityToken)
 {
     return _vertexStore.GetVertex(mySecurityToken, myTransactionToken, myVertexID, _vertexTypeManager.ExecuteManager.GetType(myVertexTypeName, myTransactionToken, mySecurityToken).ID, (aEdition) => myEdition == aEdition, (aVertexRevisionID) => myTimespan.IsWithinTimeStamp(aVertexRevisionID));
 }
コード例 #9
0
ファイル: CheckVertexHandler.cs プロジェクト: loubo/sones
 public IVertex GetVertex(long myVertexTypeID, long myVertexID, string myEdition, TimeSpanDefinition myTimespan, TransactionToken myTransaction, SecurityToken mySecurity)
 {
     return null;
 }
コード例 #10
0
ファイル: AVertexHandler.cs プロジェクト: anukat2015/sones
 /// <summary>
 /// Execution of the request
 /// </summary>
 /// <param name="myVertexTypeName">The vertex type name of the requested vertex</param>
 /// <param name="myVertexID">The id of the requested vertex</param>
 /// <param name="myEdition">The edition that should be processed</param>
 /// <param name="myTimespan">The timespan that should be processed</param>
 /// <param name="myTransaction">A transaction token for this operation.</param>
 /// <param name="mySecurity">A security token for this operation</param>
 /// <returns>The requested vertex</returns>
 public abstract IVertex GetVertex(string myVertexTypeName, long myVertexID, string myEdition, TimeSpanDefinition myTimespan, Int64 myTransaction, SecurityToken mySecurity);
コード例 #11
0
 /// <summary>
 /// Creates a new request gets a vertex type from the Graphdb
 /// </summary>
 /// <param name="myVertexTypeName">The interesting vertex type name</param>
 /// <param name="myEdition">The edition that should be processed</param>
 /// <param name="myTimeSpanDefinition">The timespan that should be processed</param>
 public RequestGetVertexType(String myVertexTypeName, String myEdition = null, TimeSpanDefinition myTimeSpanDefinition = null)
 {
     VertexTypeName = myVertexTypeName;
     Edition = myEdition;
     Timespan = myTimeSpanDefinition;
 }
コード例 #12
0
 public override IVertex GetVertex(long myVertexTypeID, long myVertexID, string myEdition, TimeSpanDefinition myTimespan, Int64 myTransaction, SecurityToken mySecurity)
 {
     _vertexTypeManager.CheckManager.GetType(myVertexTypeID, myTransaction, mySecurity);
     return null;
 }
コード例 #13
0
 /// <summary>
 /// Creates a new request gets a vertex type from the Graphdb
 /// </summary>
 /// <param name="myVertexTypeName">The interesting vertex type name</param>
 /// <param name="myEdition">The edition that should be processed</param>
 /// <param name="myTimeSpanDefinition">The timespan that should be processed</param>
 public RequestGetAllVertexTypes(String myEdition = null, TimeSpanDefinition myTimeSpanDefinition = null)
 {
     Edition = myEdition;
     Timespan = myTimeSpanDefinition;
 }