public class LineTableEnvironment extends LineEnvironment implements TableEnvironment
LineEnvironment
but also impelements
the additional methods of the TableEnvironment
interface.INDIRECTION_CHAR, NUM_TRIES
Constructor and Description |
---|
LineTableEnvironment() |
Modifier and Type | Method and Description |
---|---|
JDBCAuthenticator |
getJdbcAuthenticator()
Returns a JDBC authenticator suitable for use in this environment.
|
static JDBCAuthenticator |
getJdbcAuthenticator(Environment env)
Returns a suitable JDBC authenticator for a given environment.
|
String |
getParamHelp(Parameter<?> param)
Returns the help string for a given parameter.
|
static StoragePolicy |
getStoragePolicy(Environment env)
Returns a suitable storage policy for a given environment.
|
StarTableFactory |
getTableFactory()
Returns a table factory suitable for use in this environment.
|
static StarTableFactory |
getTableFactory(Environment env)
Returns a suitable table factory for a given environment.
|
StarTableOutput |
getTableOutput()
Returns a table output marshaller suitable for use in this environment.
|
static StarTableOutput |
getTableOutput(Environment env)
Returns a suitable table output marshaller for a given environment.
|
boolean |
isDebug()
Indicates whether we are running in debug mode.
|
boolean |
isHidden(Parameter<?> param)
Determines whether a parameter is "hidden", that is its value
should not be revealed to prying eyes.
|
boolean |
isStrictVotable()
Determines whether votables are to be parsed in strict mode.
|
static boolean |
isStrictVotable(Environment env)
Determines whether votables are to be parsed in strict mode.
|
static String |
normaliseName(String name)
Normalises a given name.
|
boolean |
paramNameMatches(String envName,
Parameter<?> param)
|
void |
setDebug(boolean debug)
Sets whether we are running in debug mode.
|
void |
setStrictVotable(boolean strict)
Sets whether votables should be parsed in strict mode.
|
acquireValue, checkParameters, clearValue, getAssignments, getErrorStream, getInteractive, getNames, getOutputStream, getPromptAll, getUnused, setErrorStream, setInteractive, setOutputStream, setPromptAll, setWords
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
acquireValue, clearValue, getErrorStream, getNames, getOutputStream
public boolean isHidden(Parameter<?> param)
LineEnvironment
isHidden
in class LineEnvironment
param
- parampublic String getParamHelp(Parameter<?> param)
LineEnvironment
getParamHelp
in class LineEnvironment
param
- parameterparam
public StarTableFactory getTableFactory()
getTableFactory
in interface TableEnvironment
public StarTableOutput getTableOutput()
getTableOutput
in interface TableEnvironment
public JDBCAuthenticator getJdbcAuthenticator()
getJdbcAuthenticator
in interface TableEnvironment
public boolean isDebug()
isDebug
in interface TableEnvironment
public void setDebug(boolean debug)
setDebug
in interface TableEnvironment
debug
- set true if you want debugging messagespublic boolean isStrictVotable()
isStrictVotable
in interface TableEnvironment
public void setStrictVotable(boolean strict)
setStrictVotable
in interface TableEnvironment
strict
- true if VOTables should be interpreted
strictly in accordance with the standardpublic boolean paramNameMatches(String envName, Parameter<?> param)
paramNameMatches
in class LineEnvironment
envName
- parameter name from environmentparam
- parameterenvName
is considered to name
param
public static String normaliseName(String name)
name
- input namepublic static StarTableFactory getTableFactory(Environment env)
env
is a TableEnvironement then env
's
factory is returned, otherwise a default one is returned.env
- execution environmentpublic static StarTableOutput getTableOutput(Environment env)
env
is a TableEnvironment then env
's
outputter is returned, otherwise a default one is returned.env
- execution environmentpublic static JDBCAuthenticator getJdbcAuthenticator(Environment env)
env
is a TableEnvironment then env
's
authenticator is returned, otherwise a new one is returned.env
- execution environmentpublic static StoragePolicy getStoragePolicy(Environment env)
env
- execution environmentpublic static boolean isStrictVotable(Environment env)
env
- execution environmentCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.