Index
All Classes and Interfaces|All Packages
A
- Architecture Key Contracts - Search tag in Overview
- Section
- attributeName() - Method in record class persistence.tools.LintDiagnostic
-
Returns the value of the
attributeNamerecord component.
B
- BOTH - Enum constant in enum class persistence.tools.SchemaExporter.Action
-
Generates schema drop statements followed by schema creation statements.
- Build-Time Integration - Search tag in interface persistence.tools.Enhancer
- Section
- Bytecode Enhancement - Search tag in Overview
- Section
C
- className() - Method in record class persistence.tools.LintDiagnostic
-
Returns the value of the
classNamerecord component. - Common Enhancement Capabilities - Search tag in interface persistence.tools.Enhancer
- Section
- CREATE - Enum constant in enum class persistence.tools.SchemaExporter.Action
-
Generates only schema creation statements (e.g.,
CREATE TABLE, constraints, and indexes). - Custom Configuration Settings - Search tag in Overview
- Section
D
- Database Schema Validation - Search tag in Overview
- Section
- DROP - Enum constant in enum class persistence.tools.SchemaExporter.Action
-
Generates only schema teardown statements (e.g.,
DROP TABLE).
E
- enhance(String, byte[]) - Method in interface persistence.tools.Enhancer
-
Transforms the bytecode of the specified class to incorporate persistence enhancements.
- Enhancer - Interface in persistence.tools
-
Public API contract for bytecode enhancement and instrumentation of persistence entity classes.
- EnhancerProvider - Interface in persistence.tools.spi
-
Service-provider interface for obtaining a namespace-specific
Enhancer. - EntityModelLinter - Interface in persistence.tools
-
Contract for statically inspecting a JPA entity metamodel to detect mapping, structural, and performance anti-patterns at build time.
- EntityModelLinterFactory - Interface in persistence.tools.spi
-
Service Provider Interface (SPI) factory for creating
EntityModelLinterinstances bound to a specific JPA specification namespace. - Entity Model Linting - Search tag in Overview
- Section
- equals(Object) - Method in record class persistence.tools.LintDiagnostic
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class persistence.tools.NamedObjectDescriptor
-
Indicates whether some other object is "equal to" this one.
- ERROR - Enum constant in enum class persistence.tools.LintSeverity
-
Critical mapping error or severe anti-pattern that will likely cause runtime failures or major performance degradation.
- export(SchemaExporter.Action, File) - Method in interface persistence.tools.SchemaExporter
-
Generates DDL statements for the specified
SchemaExporter.Actionand writes them to the target file. - export(SchemaExporter.Action, OutputStream) - Method in interface persistence.tools.SchemaExporter
-
Generates DDL statements for the specified
SchemaExporter.Actionand writes them to the provided output stream. - export(SchemaExporter.Action, Writer) - Method in interface persistence.tools.SchemaExporter
-
Generates DDL statements for the specified
SchemaExporter.Actionand writes them to the provided character writer. - Exported Packages - Search tag in module io.github.jpersist.tools.api
- Section
G
- getEnhancer(Collection<Set<File>>) - Method in interface persistence.tools.spi.EnhancerProvider
-
Creates an
Enhancerconfigured with the given classpath and default enhancement settings. - getEnhancer(Collection<Set<File>>, Map<String, Object>) - Method in interface persistence.tools.spi.EnhancerProvider
-
Creates an
Enhancerconfigured with the given classpath and enhancement settings. - getEnhancerProvider(String) - Static method in interface persistence.tools.spi.EnhancerProvider
-
Discovers and returns the
EnhancerProviderfor the given JPA specification version using the thread context class loader. - getEnhancerProvider(String, ClassLoader) - Static method in interface persistence.tools.spi.EnhancerProvider
-
Discovers and returns the
EnhancerProviderfor the given JPA specification version using the specifiedClassLoader. - getEnhancerProvider(String, ModuleLayer) - Static method in interface persistence.tools.spi.EnhancerProvider
-
Discovers and returns the
EnhancerProviderfor the given JPA specification version using the specifiedModuleLayer. - getServiceProvider(String, Class<T>) - Static method in interface persistence.tools.spi.PersistenceServiceProvider
-
Discovers and returns the
PersistenceServiceProviderof the requested type whose namespace matches the given JPA specification version using the thread context class loader. - getServiceProvider(String, Class<T>, ClassLoader) - Static method in interface persistence.tools.spi.PersistenceServiceProvider
-
Discovers and returns the
PersistenceServiceProviderof the requested type whose namespace matches the given JPA specification version using the specifiedClassLoader. - getServiceProvider(String, Class<T>, ModuleLayer) - Static method in interface persistence.tools.spi.PersistenceServiceProvider
-
Discovers and returns the
PersistenceServiceProviderof the requested type whose namespace matches the given JPA specification version using the specifiedModuleLayer. - getSupportedNamespace() - Method in interface persistence.tools.spi.PersistenceLinterFactory
-
Returns the persistence namespace supported by this factory.
- getSupportedNamespace() - Method in interface persistence.tools.spi.PersistenceServiceProvider
-
Returns the persistence namespace supported by this provider.
H
- hashCode() - Method in record class persistence.tools.LintDiagnostic
-
Returns a hash code value for this object.
- hashCode() - Method in record class persistence.tools.NamedObjectDescriptor
-
Returns a hash code value for this object.
I
- INFO - Enum constant in enum class persistence.tools.LintSeverity
-
Informational suggestion or minor best-practice recommendation.
- io.github.jpersist.tools.api - module io.github.jpersist.tools.api
-
Defines the public API and Service Provider Interfaces (SPI) for JPersist persistence tools.
J
- Java Platform Module System (JPMS) - Search tag in Overview
- Section
L
- lint() - Method in interface persistence.tools.EntityModelLinter
-
Executes static analysis rules across the configured entity classes.
- LintDiagnostic - Record Class in persistence.tools
-
Immutable diagnostic record representing a single JPA mapping or performance issue detected by an
EntityModelLinter. - LintDiagnostic(LintSeverity, String, String, String, String) - Constructor for record class persistence.tools.LintDiagnostic
-
Creates an instance of a
LintDiagnosticrecord class. - LintSeverity - Enum Class in persistence.tools
-
Enumerates the severity levels assigned to
LintDiagnosticfindings reported by anEntityModelLinter.
M
- message() - Method in record class persistence.tools.LintDiagnostic
-
Returns the value of the
messagerecord component.
N
- name() - Method in record class persistence.tools.NamedObjectDescriptor
-
Returns the value of the
namerecord component. - NamedObjectDescriptor - Record Class in persistence.tools
-
Immutable descriptor returned after a named object (query or stored procedure) has been successfully parsed and validated.
- NamedObjectDescriptor(NamedObjectType, String, String, Set<String>, Set<Integer>) - Constructor for record class persistence.tools.NamedObjectDescriptor
-
Creates an instance of a
NamedObjectDescriptorrecord class. - NamedObjectParser - Interface in persistence.tools
-
Service provider interface for parsing and validating named JPA objects (queries and stored procedures) at build time.
- NamedObjectParserFactory - Interface in persistence.tools.spi
-
Factory for creating
NamedObjectParserinstances. - NamedObjectType - Enum Class in persistence.tools
-
Enumerates the kinds of named objects that can be validated at build time.
- namedParameters() - Method in record class persistence.tools.NamedObjectDescriptor
-
Returns the value of the
namedParametersrecord component. - Named Query and Stored Procedure Validation - Search tag in Overview
- Section
- newEntityModelLinter(List<String>) - Method in interface persistence.tools.spi.EntityModelLinterFactory
-
Creates a new
EntityModelLinterconfigured with the provider's default settings. - newEntityModelLinter(List<String>, Map<String, String>) - Method in interface persistence.tools.spi.EntityModelLinterFactory
-
Creates a new
EntityModelLinterconfigured with custom provider settings. - newEntityModelLinterFactory(String) - Static method in interface persistence.tools.spi.EntityModelLinterFactory
-
Discovers and returns an
EntityModelLinterFactorysupporting the given JPA specification version using the current thread's context class loader. - newEntityModelLinterFactory(String) - Static method in interface persistence.tools.spi.PersistenceLinterFactory
-
Convenience method that discovers and returns the
EntityModelLinterFactoryfor the given JPA version using the thread context class loader. - newEntityModelLinterFactory(String, ClassLoader) - Static method in interface persistence.tools.spi.EntityModelLinterFactory
-
Discovers and returns an
EntityModelLinterFactorysupporting the given JPA specification version using the specifiedClassLoader. - newEntityModelLinterFactory(String, ClassLoader) - Static method in interface persistence.tools.spi.PersistenceLinterFactory
-
Convenience method that discovers and returns the
EntityModelLinterFactoryfor the given JPA version using the specifiedClassLoader. - newEntityModelLinterFactory(String, ModuleLayer) - Static method in interface persistence.tools.spi.EntityModelLinterFactory
-
Discovers and returns an
EntityModelLinterFactorysupporting the given JPA specification version within the specified JPMSModuleLayer. - newEntityModelLinterFactory(String, ModuleLayer) - Static method in interface persistence.tools.spi.PersistenceLinterFactory
-
Convenience method that discovers and returns the
EntityModelLinterFactoryfor the given JPA version within the specifiedModuleLayer. - newNamedObjectParser(List<String>) - Method in interface persistence.tools.spi.NamedObjectParserFactory
-
Creates a new
NamedObjectParserconfigured with the given entity class names and default parser settings. - newNamedObjectParser(List<String>, Map<String, Object>) - Method in interface persistence.tools.spi.NamedObjectParserFactory
-
Creates a new
NamedObjectParserconfigured with the given entity class names and custom configuration settings. - newNamedObjectParserFactory(String) - Static method in interface persistence.tools.spi.NamedObjectParserFactory
-
Discovers and returns the
NamedObjectParserFactoryimplementation that matches the given JPA specification version using the thread context class loader. - newNamedObjectParserFactory(String) - Static method in interface persistence.tools.spi.PersistenceLinterFactory
-
Convenience method that discovers and returns the
NamedObjectParserFactoryfor the given JPA version using the thread context class loader. - newNamedObjectParserFactory(String, ClassLoader) - Static method in interface persistence.tools.spi.NamedObjectParserFactory
-
Discovers and returns the
NamedObjectParserFactoryimplementation that matches the given JPA specification version using the specifiedClassLoader. - newNamedObjectParserFactory(String, ClassLoader) - Static method in interface persistence.tools.spi.PersistenceLinterFactory
-
Convenience method that discovers and returns the
NamedObjectParserFactoryfor the given JPA version using the specifiedClassLoader. - newNamedObjectParserFactory(String, ModuleLayer) - Static method in interface persistence.tools.spi.NamedObjectParserFactory
-
Discovers and returns the
NamedObjectParserFactoryimplementation that matches the given JPA specification version within the specifiedModuleLayer. - newNamedObjectParserFactory(String, ModuleLayer) - Static method in interface persistence.tools.spi.PersistenceLinterFactory
-
Convenience method that discovers and returns the
NamedObjectParserFactoryfor the given JPA version within the specifiedModuleLayer. - newPersistenceLinterFactory(String, Class<T>) - Static method in interface persistence.tools.spi.PersistenceLinterFactory
-
Generic factory-discovery method that resolves a
PersistenceLinterFactorysubtype for the given JPA version using the thread context class loader. - newPersistenceLinterFactory(String, Class<T>, ClassLoader) - Static method in interface persistence.tools.spi.PersistenceLinterFactory
-
Generic factory-discovery method that resolves a
PersistenceLinterFactorysubtype for the given JPA version using the specifiedClassLoader. - newPersistenceLinterFactory(String, Class<T>, ModuleLayer) - Static method in interface persistence.tools.spi.PersistenceLinterFactory
-
Generic factory-discovery method that resolves a
PersistenceLinterFactorysubtype for the given JPA version within the specifiedModuleLayer. - newSchemaExporter(List<String>) - Method in interface persistence.tools.spi.SchemaExporterFactory
-
Creates a new
SchemaExporterconfigured with the provider's default offline settings. - newSchemaExporter(List<String>, Map<String, Object>) - Method in interface persistence.tools.spi.SchemaExporterFactory
-
Creates a new
SchemaExporterconfigured with custom provider settings. - newSchemaExporterFactory(String) - Static method in interface persistence.tools.spi.SchemaExporterFactory
-
Discovers and returns a
SchemaExporterFactorysupporting the given JPA specification version using the current thread's context class loader. - newSchemaExporterFactory(String, ClassLoader) - Static method in interface persistence.tools.spi.SchemaExporterFactory
-
Discovers and returns a
SchemaExporterFactorysupporting the given JPA specification version using the specifiedClassLoader. - newSchemaExporterFactory(String, ModuleLayer) - Static method in interface persistence.tools.spi.SchemaExporterFactory
-
Discovers and returns a
SchemaExporterFactorysupporting the given JPA specification version within the specified JPMSModuleLayer. - newSchemaValidator(List<String>) - Method in interface persistence.tools.spi.SchemaValidatorFactory
-
Creates a new
SchemaValidatorconfigured with the given entity class names and default validator settings. - newSchemaValidator(List<String>, Map<String, Object>) - Method in interface persistence.tools.spi.SchemaValidatorFactory
-
Creates a new
SchemaValidatorconfigured with the given entity class names and custom configuration settings. - newSchemaValidatorFactory(String) - Static method in interface persistence.tools.spi.PersistenceLinterFactory
-
Convenience method that discovers and returns the
SchemaValidatorFactoryfor the given JPA version using the thread context class loader. - newSchemaValidatorFactory(String) - Static method in interface persistence.tools.spi.SchemaValidatorFactory
-
Discovers and returns the
SchemaValidatorFactoryimplementation that matches the given JPA specification version using the thread context class loader. - newSchemaValidatorFactory(String, ClassLoader) - Static method in interface persistence.tools.spi.PersistenceLinterFactory
-
Convenience method that discovers and returns the
SchemaValidatorFactoryfor the given JPA version using the specifiedClassLoader. - newSchemaValidatorFactory(String, ClassLoader) - Static method in interface persistence.tools.spi.SchemaValidatorFactory
-
Discovers and returns the
SchemaValidatorFactoryimplementation that matches the given JPA specification version using the specifiedClassLoader. - newSchemaValidatorFactory(String, ModuleLayer) - Static method in interface persistence.tools.spi.PersistenceLinterFactory
-
Convenience method that discovers and returns the
SchemaValidatorFactoryfor the given JPA version within the specifiedModuleLayer. - newSchemaValidatorFactory(String, ModuleLayer) - Static method in interface persistence.tools.spi.SchemaValidatorFactory
-
Discovers and returns the
SchemaValidatorFactoryimplementation that matches the given JPA specification version within the specifiedModuleLayer.
O
- of(String, String, Set<String>) - Static method in record class persistence.tools.NamedObjectDescriptor
-
Creates a descriptor for a named stored procedure.
- of(String, String, Set<String>, Set<Integer>) - Static method in record class persistence.tools.NamedObjectDescriptor
-
Creates a descriptor for a named JPQL query.
- Offline DDL Schema Export - Search tag in Overview
- Section
P
- 1. Public API Contracts (persistence.tools) - Search tag in Overview
- Section
- Package Summary - Search tag in Overview
- Section
- parseQuery(String, String) - Method in interface persistence.tools.NamedObjectParser
-
Parses and semantically validates the given JPQL query string.
- parseStoredProcedure(String, String, Set<String>) - Method in interface persistence.tools.NamedObjectParser
-
Validates a named stored procedure declaration.
- persistence.tools - package persistence.tools
-
Core public API contracts and data types for JPersist Persistence Tools.
- persistence.tools.spi - package persistence.tools.spi
-
Service Provider Interfaces (SPI) and discovery mechanisms for Persistence Tools.
- PersistenceLinter - Interface in persistence.tools
-
Marker interface for all persistence linting operations.
- PersistenceLinterFactory - Interface in persistence.tools.spi
-
Base factory interface for all persistence linter factories.
- PersistenceServiceProvider - Interface in persistence.tools.spi
-
Root service-provider interface for all persistence tool providers.
- Persistence Tools Core API SPI - Search tag in Overview
- Section
- positionalParameters() - Method in record class persistence.tools.NamedObjectDescriptor
-
Returns the value of the
positionalParametersrecord component. - Provider Independence - Search tag in interface persistence.tools.Enhancer
- Section
Q
- QUERY - Enum constant in enum class persistence.tools.NamedObjectType
-
A named JPQL query (e.g. declared with
@NamedQuery).
R
- ruleId() - Method in record class persistence.tools.LintDiagnostic
-
Returns the value of the
ruleIdrecord component.
S
- 2. Service Provider Interfaces (persistence.tools.spi) - Search tag in Overview
- Section
- SchemaExporter - Interface in persistence.tools
-
Contract for generating and exporting offline DDL scripts from a JPA entity metamodel at build time without requiring a live database connection or running database server.
- SchemaExporter.Action - Enum Class in persistence.tools
-
Defines the scope of DDL statements to generate during schema export.
- SchemaExporterFactory - Interface in persistence.tools.spi
-
Service Provider Interface (SPI) factory for creating
SchemaExporterinstances capable of generating offline DDL scripts at build time. - SchemaValidator - Interface in persistence.tools
-
Service provider interface for validating a JPA persistence schema against a live database at build time.
- SchemaValidatorFactory - Interface in persistence.tools.spi
-
Factory for creating
SchemaValidatorinstances. - Service Discovery and Usage - Search tag in Overview
- Section
- Service Loader Discoveries - Search tag in module io.github.jpersist.tools.api
- Section
- severity() - Method in record class persistence.tools.LintDiagnostic
-
Returns the value of the
severityrecord component. - STORED_PROCEDURE - Enum constant in enum class persistence.tools.NamedObjectType
-
A named stored procedure (e.g. declared with
@NamedStoredProcedureQuery).
T
- toString() - Method in record class persistence.tools.LintDiagnostic
-
Returns a string representation of this record class.
- toString() - Method in record class persistence.tools.NamedObjectDescriptor
-
Returns a string representation of this record class.
- type() - Method in record class persistence.tools.NamedObjectDescriptor
-
Returns the value of the
typerecord component.
U
- Usage Example - Search tag in interface persistence.tools.EntityModelLinter
- Section
- Usage Example - Search tag in interface persistence.tools.SchemaExporter
- Section
- Usage Example - Search tag in interface persistence.tools.spi.EntityModelLinterFactory
- Section
- Usage Example - Search tag in interface persistence.tools.spi.SchemaExporterFactory
- Section
V
- validateSchema(Map<String, String>) - Method in interface persistence.tools.SchemaValidator
-
Validates the persistence schema against the database described by the given connection properties.
- value() - Method in record class persistence.tools.NamedObjectDescriptor
-
Returns the value of the
valuerecord component. - valueOf(String) - Static method in enum class persistence.tools.LintSeverity
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class persistence.tools.NamedObjectType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class persistence.tools.SchemaExporter.Action
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class persistence.tools.LintSeverity
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class persistence.tools.NamedObjectType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class persistence.tools.SchemaExporter.Action
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WARNING - Enum constant in enum class persistence.tools.LintSeverity
-
Suboptimal mapping or potential performance pitfall that should be reviewed.
All Classes and Interfaces|All Packages