Index

A B C D E G H I J L M N O P Q R S T U V W 
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 attributeName record 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 className record 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 EntityModelLinter instances 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.Action and writes them to the target file.
export(SchemaExporter.Action, OutputStream) - Method in interface persistence.tools.SchemaExporter
Generates DDL statements for the specified SchemaExporter.Action and writes them to the provided output stream.
export(SchemaExporter.Action, Writer) - Method in interface persistence.tools.SchemaExporter
Generates DDL statements for the specified SchemaExporter.Action and 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 Enhancer configured with the given classpath and default enhancement settings.
getEnhancer(Collection<Set<File>>, Map<String, Object>) - Method in interface persistence.tools.spi.EnhancerProvider
Creates an Enhancer configured with the given classpath and enhancement settings.
getEnhancerProvider(String) - Static method in interface persistence.tools.spi.EnhancerProvider
Discovers and returns the EnhancerProvider for 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 EnhancerProvider for the given JPA specification version using the specified ClassLoader.
getEnhancerProvider(String, ModuleLayer) - Static method in interface persistence.tools.spi.EnhancerProvider
Discovers and returns the EnhancerProvider for the given JPA specification version using the specified ModuleLayer.
getServiceProvider(String, Class<T>) - Static method in interface persistence.tools.spi.PersistenceServiceProvider
Discovers and returns the PersistenceServiceProvider of 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 PersistenceServiceProvider of the requested type whose namespace matches the given JPA specification version using the specified ClassLoader.
getServiceProvider(String, Class<T>, ModuleLayer) - Static method in interface persistence.tools.spi.PersistenceServiceProvider
Discovers and returns the PersistenceServiceProvider of the requested type whose namespace matches the given JPA specification version using the specified ModuleLayer.
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 LintDiagnostic record class.
LintSeverity - Enum Class in persistence.tools
Enumerates the severity levels assigned to LintDiagnostic findings reported by an EntityModelLinter.

M

message() - Method in record class persistence.tools.LintDiagnostic
Returns the value of the message record component.

N

name() - Method in record class persistence.tools.NamedObjectDescriptor
Returns the value of the name record 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 NamedObjectDescriptor record 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 NamedObjectParser instances.
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 namedParameters record 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 EntityModelLinter configured with the provider's default settings.
newEntityModelLinter(List<String>, Map<String, String>) - Method in interface persistence.tools.spi.EntityModelLinterFactory
Creates a new EntityModelLinter configured with custom provider settings.
newEntityModelLinterFactory(String) - Static method in interface persistence.tools.spi.EntityModelLinterFactory
Discovers and returns an EntityModelLinterFactory supporting 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 EntityModelLinterFactory for 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 EntityModelLinterFactory supporting the given JPA specification version using the specified ClassLoader.
newEntityModelLinterFactory(String, ClassLoader) - Static method in interface persistence.tools.spi.PersistenceLinterFactory
Convenience method that discovers and returns the EntityModelLinterFactory for the given JPA version using the specified ClassLoader.
newEntityModelLinterFactory(String, ModuleLayer) - Static method in interface persistence.tools.spi.EntityModelLinterFactory
Discovers and returns an EntityModelLinterFactory supporting the given JPA specification version within the specified JPMS ModuleLayer.
newEntityModelLinterFactory(String, ModuleLayer) - Static method in interface persistence.tools.spi.PersistenceLinterFactory
Convenience method that discovers and returns the EntityModelLinterFactory for the given JPA version within the specified ModuleLayer.
newNamedObjectParser(List<String>) - Method in interface persistence.tools.spi.NamedObjectParserFactory
Creates a new NamedObjectParser configured 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 NamedObjectParser configured with the given entity class names and custom configuration settings.
newNamedObjectParserFactory(String) - Static method in interface persistence.tools.spi.NamedObjectParserFactory
Discovers and returns the NamedObjectParserFactory implementation 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 NamedObjectParserFactory for 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 NamedObjectParserFactory implementation that matches the given JPA specification version using the specified ClassLoader.
newNamedObjectParserFactory(String, ClassLoader) - Static method in interface persistence.tools.spi.PersistenceLinterFactory
Convenience method that discovers and returns the NamedObjectParserFactory for the given JPA version using the specified ClassLoader.
newNamedObjectParserFactory(String, ModuleLayer) - Static method in interface persistence.tools.spi.NamedObjectParserFactory
Discovers and returns the NamedObjectParserFactory implementation that matches the given JPA specification version within the specified ModuleLayer.
newNamedObjectParserFactory(String, ModuleLayer) - Static method in interface persistence.tools.spi.PersistenceLinterFactory
Convenience method that discovers and returns the NamedObjectParserFactory for the given JPA version within the specified ModuleLayer.
newPersistenceLinterFactory(String, Class<T>) - Static method in interface persistence.tools.spi.PersistenceLinterFactory
Generic factory-discovery method that resolves a PersistenceLinterFactory subtype 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 PersistenceLinterFactory subtype for the given JPA version using the specified ClassLoader.
newPersistenceLinterFactory(String, Class<T>, ModuleLayer) - Static method in interface persistence.tools.spi.PersistenceLinterFactory
Generic factory-discovery method that resolves a PersistenceLinterFactory subtype for the given JPA version within the specified ModuleLayer.
newSchemaExporter(List<String>) - Method in interface persistence.tools.spi.SchemaExporterFactory
Creates a new SchemaExporter configured with the provider's default offline settings.
newSchemaExporter(List<String>, Map<String, Object>) - Method in interface persistence.tools.spi.SchemaExporterFactory
Creates a new SchemaExporter configured with custom provider settings.
newSchemaExporterFactory(String) - Static method in interface persistence.tools.spi.SchemaExporterFactory
Discovers and returns a SchemaExporterFactory supporting 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 SchemaExporterFactory supporting the given JPA specification version using the specified ClassLoader.
newSchemaExporterFactory(String, ModuleLayer) - Static method in interface persistence.tools.spi.SchemaExporterFactory
Discovers and returns a SchemaExporterFactory supporting the given JPA specification version within the specified JPMS ModuleLayer.
newSchemaValidator(List<String>) - Method in interface persistence.tools.spi.SchemaValidatorFactory
Creates a new SchemaValidator configured 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 SchemaValidator configured 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 SchemaValidatorFactory for the given JPA version using the thread context class loader.
newSchemaValidatorFactory(String) - Static method in interface persistence.tools.spi.SchemaValidatorFactory
Discovers and returns the SchemaValidatorFactory implementation 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 SchemaValidatorFactory for the given JPA version using the specified ClassLoader.
newSchemaValidatorFactory(String, ClassLoader) - Static method in interface persistence.tools.spi.SchemaValidatorFactory
Discovers and returns the SchemaValidatorFactory implementation that matches the given JPA specification version using the specified ClassLoader.
newSchemaValidatorFactory(String, ModuleLayer) - Static method in interface persistence.tools.spi.PersistenceLinterFactory
Convenience method that discovers and returns the SchemaValidatorFactory for the given JPA version within the specified ModuleLayer.
newSchemaValidatorFactory(String, ModuleLayer) - Static method in interface persistence.tools.spi.SchemaValidatorFactory
Discovers and returns the SchemaValidatorFactory implementation that matches the given JPA specification version within the specified ModuleLayer.

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 positionalParameters record 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 ruleId record 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 SchemaExporter instances 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 SchemaValidator instances.
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 severity record 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 type record 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 value record 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.
A B C D E G H I J L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages