/// <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; }
/// <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; }
/// <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; }
/// <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; }
/// <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; }
/// <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; }
/// <summary> /// Creates a new request gets a edge type from the Graphdb /// </summary> /// <param name="myEdgeTypeName">The interesting edge type name</param> /// <param name="myEdition">The edition that should be processed</param> /// <param name="myTimeSpanDefinition">The timespan that should be processed</param> public RequestGetAllEdgeTypes(String myEdition = null, TimeSpanDefinition myTimeSpanDefinition = null) { Edition = myEdition; Timespan = myTimeSpanDefinition; }
/// <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);
/// <summary> /// Creates a new request gets a edge type from the Graphdb /// </summary> /// <param name="myEdgeTypeName">The interesting edge type name</param> /// <param name="myEdition">The edition that should be processed</param> /// <param name="myTimeSpanDefinition">The timespan that should be processed</param> public RequestGetEdgeType(String myEdgeTypeName, String myEdition = null, TimeSpanDefinition myTimeSpanDefinition = null) { EdgeTypeName = myEdgeTypeName; Edition = myEdition; Timespan = myTimeSpanDefinition; }
public override IVertex GetVertex(long myVertexTypeID, long myVertexID, string myEdition, TimeSpanDefinition myTimespan, Int64 myTransaction, SecurityToken mySecurity) { _vertexTypeManager.CheckManager.GetType(myVertexTypeID, myTransaction, mySecurity); return(null); }
/// <summary> /// Creates a new request that gets a vertex count from the Graphdb /// </summary> /// <param name="myVertexTypeName">The interesting vertex type name</param> /// <param name="myEdition">The interesting edition</param> /// <param name="myTimeSpanDefinition">The interesting timespan</param> public RequestGetVertexCount(String myVertexTypeName, String myEdition = null, TimeSpanDefinition myTimeSpanDefinition = null) { VertexTypeName = myVertexTypeName; Edition = myEdition; Timespan = myTimeSpanDefinition; }