java.lang.Object
org.jooq.meta.DefaultOrderProvider
- Alle implementierten Schnittstellen:
Comparator<Definition>
A default order provider that allows for comparing arbitrary definitions.
jOOQ's code generator, by default, implements ordering of objects in a reasonable, predictable way, according to these rules:
- Alphabetic when irrelevant:
When the order of objects within a parent is irrelevant, they are ordered alphabetically. Such objects include:SchemaDefinitionwithinCatalogDefinitionArrayDefinitionwithinSchemaDefinitionDomainDefinitionwithinSchemaDefinitionEnumDefinitionwithinSchemaDefinitionPackageDefinitionwithinSchemaDefinitionRoutineDefinitionwithinSchemaDefinitionUDTDefinitionwithinSchemaDefinitionTableDefinitionwithinSchemaDefinitionConstraintDefinitionwithinTableDefinitionIndexDefinitionwithinTableDefinitionSequenceDefinitionwithinSchemaDefinition
- In given order when relevant:
When the order of objects within a parent is relevant, and provided by the database vendor, then that order is used. Such objects include:AttributeDefinitionwithinUDTDefinitionColumnDefinitionwithinTableDefinitionIndexColumnDefinitionwithinIndexDefinitionParameterDefinitionwithinRoutineDefinition
- Autor:
- Lukas Eder
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Konstruktordetails
-
DefaultOrderProvider
public DefaultOrderProvider()
-
-
Methodendetails
-
compare
- Angegeben von:
comparein SchnittstelleComparator<Definition>
-