Top Description Constructors Methods
org.hibernate.tool.schema.internal.exec

public abstract Class AbstractScriptSourceInput

extends Object
implements ScriptSourceInput
Class Inheritance
All Implemented Interfaces
org.hibernate.tool.schema.spi.ScriptSourceInput
Known Direct Subclasses
org.hibernate.tool.schema.internal.exec.ScriptSourceInputFromFile, org.hibernate.tool.schema.internal.exec.ScriptSourceInputFromReader, org.hibernate.tool.schema.internal.exec.ScriptSourceInputFromUrl, org.hibernate.tool.schema.internal.exec.ScriptSourceInputNonExistentImpl
Imports
java.io.Reader, java.util.List, java.util.function.Function, org.hibernate.internal.CoreLogging, .CoreMessageLogger, org.hibernate.tool.schema.internal.SchemaCreatorImpl, org.hibernate.tool.schema.spi.ScriptSourceInput

Convenience base class for ScriptSourceInput implementations
Author
Steve Ebersole

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public List<String>
extract(Function<Reader, List<String>> extractor)

Implements org.hibernate.tool.schema.spi.ScriptSourceInput.extract.

Allows managed access to the input's Reader, returning a result
protected abstract Reader
protected abstract void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

AbstractScriptSourceInputback to summary
public AbstractScriptSourceInput()

Method Detail

extractback to summary
public List<String> extract(Function<Reader, List<String>> extractor)

Implements org.hibernate.tool.schema.spi.ScriptSourceInput.extract.

Doc from org.hibernate.tool.schema.spi.ScriptSourceInput.extract.

Allows managed access to the input's Reader, returning a result

Annotations
@Override
prepareReaderback to summary
protected abstract Reader prepareReader()
releaseReaderback to summary
protected abstract void releaseReader(Reader reader)