Class TextP
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.process.traversal.P<String>
-
- org.apache.tinkerpop.gremlin.process.traversal.TextP
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Predicate<String>
public class TextP extends P<String>
PredefinedPredicate
values that can be used asString
filters.- Author:
- Daniel Kuppitz (http://gremlin.guru)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.tinkerpop.gremlin.process.traversal.P
biPredicate, originalValue, value
-
-
Constructor Summary
Constructors Constructor Description TextP(BiPredicate<String,String> biPredicate, String value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TextP
clone()
static TextP
containing(String value)
Determines if String does contain the given value.static TextP
endingWith(String value)
Determines if String does start with the given value.boolean
equals(Object other)
TextP
negate()
static TextP
notContaining(String value)
Determines if String does not contain the given value.static TextP
notEndingWith(String value)
Determines if String does not start with the given value.static TextP
notStartingWith(String value)
Determines if String does not start with the given value.static TextP
startingWith(String value)
Determines if String does start with the given value.String
toString()
-
-
-
Constructor Detail
-
TextP
public TextP(BiPredicate<String,String> biPredicate, String value)
-
-
Method Detail
-
negate
public TextP negate()
-
startingWith
public static TextP startingWith(String value)
Determines if String does start with the given value.- Since:
- 3.4.0
-
notStartingWith
public static TextP notStartingWith(String value)
Determines if String does not start with the given value.- Since:
- 3.4.0
-
endingWith
public static TextP endingWith(String value)
Determines if String does start with the given value.- Since:
- 3.4.0
-
notEndingWith
public static TextP notEndingWith(String value)
Determines if String does not start with the given value.- Since:
- 3.4.0
-
containing
public static TextP containing(String value)
Determines if String does contain the given value.- Since:
- 3.4.0
-
-