com.facetmap.example.movies
Class Test

java.lang.Object
  extended by com.facetmap.example.movies.Test

public class Test
extends java.lang.Object

Create implementations of Facetmap with movie data, and test various types of queries. Please read the source code for details. Note that property values (database connection, license file) are hardcoded here, so you may have to edit the source for it to work in your environment.


Field Summary
static java.lang.String[] DEFAULT_ARGV
           
static java.lang.String EXCEL_RESOURCE
           
static java.io.PrintWriter writer
           
static XmlGenerator xmlGenerator
           
 
Constructor Summary
Test()
           
 
Method Summary
static void main(java.lang.String[] argv)
           
static Facetmap testExcelFormat()
           
static Facetmap testSimpleFacetmap()
           
static SqlFacetmap testSqlFacetmap()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXCEL_RESOURCE

public static final java.lang.String EXCEL_RESOURCE
See Also:
Constant Field Values

xmlGenerator

public static final XmlGenerator xmlGenerator

writer

public static final java.io.PrintWriter writer

DEFAULT_ARGV

public static java.lang.String[] DEFAULT_ARGV
Constructor Detail

Test

public Test()
Method Detail

testSimpleFacetmap

public static Facetmap testSimpleFacetmap()
                                   throws DataException,
                                          InternalException,
                                          java.text.ParseException,
                                          java.io.IOException
Throws:
DataException
InternalException
java.text.ParseException
java.io.IOException

testSqlFacetmap

public static SqlFacetmap testSqlFacetmap()
                                   throws DataException,
                                          InternalException,
                                          java.text.ParseException,
                                          java.io.IOException
Throws:
DataException
InternalException
java.text.ParseException
java.io.IOException

testExcelFormat

public static Facetmap testExcelFormat()
                                throws DataException,
                                       InternalException,
                                       java.io.IOException
Throws:
DataException
InternalException
java.io.IOException

main

public static void main(java.lang.String[] argv)
                 throws DataException,
                        InternalException,
                        java.text.ParseException,
                        java.io.IOException
Throws:
DataException
InternalException
java.text.ParseException
java.io.IOException