Java 1-param constructor specifying a class file caching directory.
Java 1-param constructor specifying a class file caching directory.
Location to cache generated class files.
Java 0-param constructor.
Java 0-param constructor.
a threading model used for compilation.
Directory where generated class files should be stored.
import statements.
Directory where generated class files should be stored.
Issue a debug logging message, with an exception.
Issue a debug logging message, with an exception.
the message object. toString()
is called to convert it
to a loggable string.
the exception to include with the logged message.
Issue a debug logging message.
Issue a debug logging message.
the message object. toString()
is called to convert it
to a loggable string.
Issue a error logging message, with an exception.
Issue a error logging message, with an exception.
the message object. toString()
is called to convert it
to a loggable string.
the exception to include with the logged message.
Issue a error logging message.
Issue a error logging message.
the message object. toString()
is called to convert it
to a loggable string.
Read from a classpath resource.
Read from a classpath resource. This uses fromFileObject under the hood.
a resource path
Read from a File.
Read from a File.
a File to read. The File's InputStream is automatically closed.
the result
Read from an InputStream.
Read from an InputStream.
an InputStream to read. The InputStream is automatically closed.
the result
Read from a Reader.
Read from a Reader. Whoever extends this trait is responsible for closing the Reader.
a Reader containing data to be read.
the result
Read from a resource.
Read from a resource. This uses fromFileObject under the hood.
a resource path
Compile s into an instance of A.
Compile s into an instance of A. If classCacheDir
the type of object to be generated
a string representing the to compile.
Read from a URL.
Read from a URL.
a URL to read. The URL's InputStream is automatically closed.
the result
Read from an Apache VFS v1 FileObject.
Read from an Apache VFS v1 FileObject.
an Apache VFS v1 FileObject to read. The FileObject's InputStream is automatically closed.
the result
Read from an Apache VFS v1 FileObject.
Read from an Apache VFS v1 FileObject.
an Apache VFS v1 FileObject to read. The FileObject's InputStream is automatically closed.
the result
import statements.
Issue a info logging message, with an exception.
Issue a info logging message, with an exception.
the message object. toString()
is called to convert it
to a loggable string.
the exception to include with the logged message.
Issue a info logging message.
Issue a info logging message.
the message object. toString()
is called to convert it
to a loggable string.
The character set that is used to decode the input streams in fromInputStream in the derived classes.
The character set that is used to decode the input streams in fromInputStream in the derived classes.
Determine whether debug logging is enabled.
Determine whether debug logging is enabled.
Determine whether error logging is enabled.
Determine whether error logging is enabled.
Determine whether info logging is enabled.
Determine whether info logging is enabled.
Determine whether trace logging is enabled.
Determine whether trace logging is enabled.
Determine whether warn logging is enabled.
Determine whether warn logging is enabled.
The logger is a @transient lazy val
to enable proper working with Spark.
The logger is a @transient lazy val
to enable proper working with Spark.
The logger will not be serialized with the rest of the class with which this
trait is mixed-in.
The name with which the logger is initialized.
The name with which the logger is initialized. This can be overridden in a derived class.
Get the name associated with this logger.
Get the name associated with this logger.
the name.
a threading model used for compilation.
Issue a trace logging message, with an exception.
Issue a trace logging message, with an exception.
the message object. toString()
is called to convert it
to a loggable string.
the exception to include with the logged message.
Issue a trace logging message.
Issue a trace logging message.
the message object. toString()
is called to convert it
to a loggable string.
Issue a warn logging message, with an exception.
Issue a warn logging message, with an exception.
the message object. toString()
is called to convert it
to a loggable string.
the exception to include with the logged message.
Issue a warn logging message.
Issue a warn logging message.
the message object. toString()
is called to convert it
to a loggable string.
Compiles code using Twitter's Eval class from util-eval, wrapping the attempt in a Try.
NOTE: while thread local is a good idea for multi-threading purposes (creates one compiler per thread), one needs to be careful about the number of threads interacting with the compiler. This is true for two reasons: 1 Creation time for compiler instance takes a while. 1 compiler instances are big (translation, many threads + thread local == java.lang.OutOfMemoryError).
Because the critical sections of the compile function of the StringCompiler.apply(*,*,*) function called by Eval.applyProcessed(*,*,*) are synchronized, we shouldn't need to worry about thread-safety. For more information, see Eval on github.
a threading model used for compilation.
Directory where generated class files should be stored.
import statements.