Show / Hide Table of Contents

    Class P

    A P is a predicate of the form Func<object, bool>. That is, given some object, return true or false.

    Inheritance
    System.Object
    P
    TextP
    Implements
    IPredicate
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Gremlin.Net.Process.Traversal
    Assembly: cs.temp.dll.dll
    Syntax
    public class P : IPredicate

    Constructors

    P(String, Object, P)

    Initializes a new instance of the P class.

    Declaration
    public P(string operatorName, dynamic value, P other = null)
    Parameters
    Type Name Description
    System.String operatorName

    The name of the predicate.

    System.Object value

    The value of the predicate.

    P other

    An optional other predicate that is used as an argument for this predicate.

    Properties

    OperatorName

    Gets the name of the predicate.

    Declaration
    public string OperatorName { get; }
    Property Value
    Type Description
    System.String

    Other

    Gets an optional other predicate that is used as an argument for this predicate.

    Declaration
    public P Other { get; }
    Property Value
    Type Description
    P

    Value

    Gets the value of the predicate.

    Declaration
    public dynamic Value { get; }
    Property Value
    Type Description
    System.Object

    Methods

    And(P)

    Returns a composed predicate that represents a logical AND of this predicate and another.

    Declaration
    public P And(P otherPredicate)
    Parameters
    Type Name Description
    P otherPredicate

    A predicate that will be logically-ANDed with this predicate.

    Returns
    Type Description
    P

    The composed predicate.

    Between(Object[])

    Declaration
    public static P Between(params object[] args)
    Parameters
    Type Name Description
    System.Object[] args
    Returns
    Type Description
    P

    Eq(Object[])

    Declaration
    public static P Eq(params object[] args)
    Parameters
    Type Name Description
    System.Object[] args
    Returns
    Type Description
    P

    Gt(Object[])

    Declaration
    public static P Gt(params object[] args)
    Parameters
    Type Name Description
    System.Object[] args
    Returns
    Type Description
    P

    Gte(Object[])

    Declaration
    public static P Gte(params object[] args)
    Parameters
    Type Name Description
    System.Object[] args
    Returns
    Type Description
    P

    Inside(Object[])

    Declaration
    public static P Inside(params object[] args)
    Parameters
    Type Name Description
    System.Object[] args
    Returns
    Type Description
    P

    Lt(Object[])

    Declaration
    public static P Lt(params object[] args)
    Parameters
    Type Name Description
    System.Object[] args
    Returns
    Type Description
    P

    Lte(Object[])

    Declaration
    public static P Lte(params object[] args)
    Parameters
    Type Name Description
    System.Object[] args
    Returns
    Type Description
    P

    Neq(Object[])

    Declaration
    public static P Neq(params object[] args)
    Parameters
    Type Name Description
    System.Object[] args
    Returns
    Type Description
    P

    Not(Object[])

    Declaration
    public static P Not(params object[] args)
    Parameters
    Type Name Description
    System.Object[] args
    Returns
    Type Description
    P

    Or(P)

    Returns a composed predicate that represents a logical OR of this predicate and another.

    Declaration
    public P Or(P otherPredicate)
    Parameters
    Type Name Description
    P otherPredicate

    A predicate that will be logically-ORed with this predicate.

    Returns
    Type Description
    P

    The composed predicate.

    Outside(Object[])

    Declaration
    public static P Outside(params object[] args)
    Parameters
    Type Name Description
    System.Object[] args
    Returns
    Type Description
    P

    Test(Object[])

    Declaration
    public static P Test(params object[] args)
    Parameters
    Type Name Description
    System.Object[] args
    Returns
    Type Description
    P

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()

    Within(Object[])

    Declaration
    public static P Within(params object[] args)
    Parameters
    Type Name Description
    System.Object[] args
    Returns
    Type Description
    P

    Without(Object[])

    Declaration
    public static P Without(params object[] args)
    Parameters
    Type Name Description
    System.Object[] args
    Returns
    Type Description
    P

    Implements

    IPredicate
    Back to top Copyright © 2018 The Apache Software Foundation