Search Results for

    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
    object
    P
    TextP
    Implements
    IPredicate
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Gremlin.Net.Process.Traversal
    Assembly: Gremlin.Net.dll
    Syntax
    public class P : IPredicate

    Constructors

    P(string, dynamic?, P?)

    Initializes a new instance of the P class.

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

    The name of the predicate.

    dynamic 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
    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
    dynamic

    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(params object[]?)

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

    Eq(params object[]?)

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

    Gt(params object[]?)

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

    Gte(params object[]?)

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

    Inside(params object[]?)

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

    Lt(params object[]?)

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

    Lte(params object[]?)

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

    Neq(params object[]?)

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

    Not(params object[]?)

    Declaration
    public static P Not(params object[]? args)
    Parameters
    Type Name Description
    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(params object[]?)

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

    Test(params object[]?)

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

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    Within(params object[]?)

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

    Without(params object[]?)

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

    Implements

    IPredicate
    In this article
    Back to top Copyright © 2018 The Apache Software Foundation