uk.ac.starlink.ttools.task
Interface TableEnvironment

All Superinterfaces:
Environment
All Known Implementing Classes:
LineTableEnvironment, MapEnvironment, ServletEnvironment

public interface TableEnvironment
extends Environment

Environment subinterface which provides additional functionality required for table-aware tasks.

Since:
15 Aug 2005
Author:
Mark Taylor

Method Summary
 JDBCAuthenticator getJdbcAuthenticator()
          Returns a JDBC authenticator suitable for use in this environment.
 StarTableFactory getTableFactory()
          Returns a table factory suitable for use in this environment.
 StarTableOutput getTableOutput()
          Returns a table output marshaller suitable for use in this environment.
 boolean isDebug()
          Indicates whether we are running in debug mode.
 boolean isStrictVotable()
          Determines whether votables are to be parsed in strict mode.
 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.
 
Methods inherited from interface uk.ac.starlink.task.Environment
acquireValue, clearValue, getErrorStream, getNames, getOutputStream
 

Method Detail

getTableFactory

StarTableFactory getTableFactory()
Returns a table factory suitable for use in this environment.

Returns:
table factory

getTableOutput

StarTableOutput getTableOutput()
Returns a table output marshaller suitable for use in this environment.

Returns:
table output

getJdbcAuthenticator

JDBCAuthenticator getJdbcAuthenticator()
Returns a JDBC authenticator suitable for use in this environment.

Returns:
JDBC authenticator

isDebug

boolean isDebug()
Indicates whether we are running in debug mode.

Returns:
true iff debugging output is required

setDebug

void setDebug(boolean debug)
Sets whether we are running in debug mode.

Parameters:
debug - set true if you want debugging messages

isStrictVotable

boolean isStrictVotable()
Determines whether votables are to be parsed in strict mode.

Returns:
true if VOTables will be interpreted strictly in accordance with the standard

setStrictVotable

void setStrictVotable(boolean strict)
Sets whether votables should be parsed in strict mode.

Parameters:
strict - true if VOTables should be interpreted strictly in accordance with the standard


Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.