Package hydra.cypher.features
Class DatabaseFunctionFeatures
- java.lang.Object
-
- hydra.cypher.features.DatabaseFunctionFeatures
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DatabaseFunctionFeatures>
public class DatabaseFunctionFeatures extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<DatabaseFunctionFeatures>
Database functions- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDatabaseFunctionFeatures.BuilderA fluent builder forDatabaseFunctionFeatures.
-
Field Summary
Fields Modifier and Type Field Description static NameDB_NAME_FROM_ELEMENT_IDName of thehydra.cypher.features.DatabaseFunctionFeatures.dbNameFromElementIdfield.java.lang.BooleandbNameFromElementIdThe db.nameFromElementId() function.static NameTYPE_Name of thehydra.cypher.features.DatabaseFunctionFeaturestype.
-
Constructor Summary
Constructors Constructor Description DatabaseFunctionFeatures(java.lang.Boolean dbNameFromElementId)Constructs an immutableDatabaseFunctionFeatures.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatabaseFunctionFeatures.Builderbuilder()Creates a new fluent builder forDatabaseFunctionFeatures.intcompareTo(DatabaseFunctionFeatures other)booleanequals(java.lang.Object other)inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of thehydra.cypher.features.DatabaseFunctionFeaturestype.
-
DB_NAME_FROM_ELEMENT_ID
public static final Name DB_NAME_FROM_ELEMENT_ID
Name of thehydra.cypher.features.DatabaseFunctionFeatures.dbNameFromElementIdfield.
-
dbNameFromElementId
public final java.lang.Boolean dbNameFromElementId
The db.nameFromElementId() function. Resolves the database name from the given element id. Introduced in 5.12.
-
-
Constructor Detail
-
DatabaseFunctionFeatures
public DatabaseFunctionFeatures(java.lang.Boolean dbNameFromElementId)
Constructs an immutableDatabaseFunctionFeatures.- Parameters:
dbNameFromElementId- The db.nameFromElementId() function. Resolves the database name from the given element id. Introduced in 5.12.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
compareTo
public int compareTo(DatabaseFunctionFeatures other)
- Specified by:
compareToin interfacejava.lang.Comparable<DatabaseFunctionFeatures>
-
builder
public static DatabaseFunctionFeatures.Builder builder()
Creates a new fluent builder forDatabaseFunctionFeatures.
-
-