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>
PredefinedPredicatevalues that can be used asStringfilters.- 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 TextPclone()static TextPcontaining(String value)Determines if String does contain the given value.static TextPendingWith(String value)Determines if String does start with the given value.booleanequals(Object other)TextPnegate()static TextPnotContaining(String value)Determines if String does not contain the given value.static TextPnotEndingWith(String value)Determines if String does not start with the given value.static TextPnotStartingWith(String value)Determines if String does not start with the given value.static TextPstartingWith(String value)Determines if String does start with the given value.StringtoString()
-
-
-
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
-
-