Connection - App Home Directory

Connection - App Home Directory

About

app is a built-in connection that points to the app home directory.

It is automatically created when:

Example

By setting the global option --app-home, we are defining a app run in the tabul-app directory from the user home directory (@user). We can therefore see its attributes with the info command.

tabul --app-home  /home/tabulify/tabul-app connection info app
Information about the connection (app)
Attribute                    Value                              Description
--------------------------   --------------------------------   --------------------------------------------------------------------
BOOLEAN_DATA_TYPE            Native                             Boolean data type used to store boolean values
CHAR_DEFAULT_PRECISION       1                                  Default CHAR precision
COMMENT                      The project home path              A connection description
DATE_DATA_TYPE               NATIVE                             Date data type used to store date values
HOST                                                            Host Server
MAX_CONCURRENT_THREAD                                           The maximum number of threads that can be created against the system
MAX_NAME_IN_PATH                                                The maximum number of names in a path
NAME                         app                                The name of the connection
NATIVES                                                         Native Driver attributes (jdbc properties, ...)
NCHAR_DEFAULT_PRECISION      1                                  Default NCHAR precision
NVARCHAR_DEFAULT_PRECISION   0                                  Default NVARCHAR precision
ORIGIN                                                          The origin of the connection
PASSWORD                                                        The user password
PORT                                                            Host Port
TABULAR_FILE_TYPE            text/csv                           The default media type when downloading tabular data
TIMESTAMP_DATA_TYPE          NATIVE                             Timestamp data type used to store timestamp values
TIME_DATA_TYPE               NATIVE                             Time format data type to store time values
URI                          file:///home/tabulify/tabul-app/   The uri of the connection
USER                                                            The user name
VARCHAR_DEFAULT_PRECISION    0                                  Default VARCHAR precision
WORKING_PATH                 /home/tabulify/tabul-app           The working path (Schema for database, directory for file system)

Task Runner