Package com.google.cloud.firestore
Class BasePath<B extends BasePath<B>>
java.lang.Object
com.google.cloud.firestore.BasePath<B>
- All Implemented Interfaces:
Comparable<B>
- Direct Known Subclasses:
FieldPath
BasePath represents a path sequence in the Firestore database. It is composed of an ordered
sequence of string segments.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
BasePath
public BasePath()
-
-
Method Details
-
compareTo
Compare the current path lexicographically against another Path object.- Specified by:
compareTo
in interfaceComparable<B extends BasePath<B>>
- Parameters:
other
- The path to compare to.- Returns:
- -1 if current is less than other, 1 if current greater than other, 0 if equal
-