145145import org .polypheny .db .ddl .DdlManager ;
146146import org .polypheny .db .ddl .exception .ColumnNotExistsException ;
147147import org .polypheny .db .docker .DockerManager ;
148- import org .polypheny .db .exploreByExample .Explore ;
149- import org .polypheny .db .exploreByExample .ExploreManager ;
150148import org .polypheny .db .iface .QueryInterface ;
151149import org .polypheny .db .iface .QueryInterfaceManager ;
152150import org .polypheny .db .iface .QueryInterfaceManager .QueryInterfaceInformation ;
186184import org .polypheny .db .webui .models .AdapterModel ;
187185import org .polypheny .db .webui .models .DbColumn ;
188186import org .polypheny .db .webui .models .DbTable ;
189- import org .polypheny .db .webui .models .ExploreResult ;
190187import org .polypheny .db .webui .models .ForeignKey ;
191188import org .polypheny .db .webui .models .HubMeta ;
192189import org .polypheny .db .webui .models .HubMeta .TableMapping ;
210207import org .polypheny .db .webui .models .UnderlyingTables ;
211208import org .polypheny .db .webui .models .requests .BatchUpdateRequest ;
212209import org .polypheny .db .webui .models .requests .BatchUpdateRequest .Update ;
213- import org .polypheny .db .webui .models .requests .ClassifyAllData ;
214210import org .polypheny .db .webui .models .requests .ColumnRequest ;
215211import org .polypheny .db .webui .models .requests .ConstraintRequest ;
216212import org .polypheny .db .webui .models .requests .EditTableRequest ;
217- import org .polypheny .db .webui .models .requests .ExploreData ;
218- import org .polypheny .db .webui .models .requests .ExploreTables ;
219213import org .polypheny .db .webui .models .requests .HubRequest ;
220214import org .polypheny .db .webui .models .requests .PartitioningRequest ;
221215import org .polypheny .db .webui .models .requests .PartitioningRequest .ModifyPartitionRequest ;
222- import org .polypheny .db .webui .models .requests .QueryExplorationRequest ;
223216import org .polypheny .db .webui .models .requests .QueryRequest ;
224217import org .polypheny .db .webui .models .requests .RelAlgRequest ;
225218import org .polypheny .db .webui .models .requests .SchemaTreeRequest ;
@@ -920,7 +913,7 @@ public static void attachQueryAnalyzer( InformationManager queryAnalyzer, long e
920913 * return possibly interesting Data to User
921914 */
922915 public void classifyData ( final Context ctx ) {
923- ClassifyAllData classifyAllData = ctx .bodyAsClass ( ClassifyAllData .class );
916+ /* ClassifyAllData classifyAllData = ctx.bodyAsClass( ClassifyAllData.class );
924917 ExploreManager exploreManager = ExploreManager.getInstance();
925918
926919 boolean isConvertedToSql = isClassificationToSql();
@@ -964,15 +957,15 @@ public void classifyData( final Context ctx ) {
964957 result.setConvertedToSql( isConvertedToSql );
965958 ctx.json( result );
966959 }
967-
960+ */
968961 }
969962
970963
971964 /**
972965 * For pagination within the Explore-by-Example table
973966 */
974967 public void getExploreTables ( final Context ctx ) {
975- ExploreTables exploreTables = ctx .bodyAsClass ( ExploreTables .class );
968+ /* ExploreTables exploreTables = ctx.bodyAsClass( ExploreTables.class );
976969 Transaction transaction = getTransaction();
977970 Statement statement = transaction.createStatement();
978971
@@ -1049,15 +1042,15 @@ public void getExploreTables( final Context ctx ) {
10491042 result.setClassifiedData( paginationData );
10501043 }
10511044 ctx.json( result );
1052-
1045+ */
10531046 }
10541047
10551048
10561049 /**
10571050 * Creates the initial query for the Explore-by-Example process
10581051 */
10591052 public void createInitialExploreQuery ( final Context ctx ) {
1060- QueryExplorationRequest queryExplorationRequest = ctx .bodyAsClass ( QueryExplorationRequest .class );
1053+ /* QueryExplorationRequest queryExplorationRequest = ctx.bodyAsClass( QueryExplorationRequest.class );
10611054 ExploreManager exploreManager = ExploreManager.getInstance();
10621055
10631056 Result result;
@@ -1094,15 +1087,15 @@ public void createInitialExploreQuery( final Context ctx ) {
10941087 result.setCurrentPage( queryExplorationRequest.cPage ).setTable( queryExplorationRequest.tableId );
10951088 result.setHighestPage( (int) Math.ceil( (double) explore.getTableSize() / getPageSize() ) );
10961089
1097- ctx .json ( result );
1090+ ctx.json( result );*/
10981091 }
10991092
11001093
11011094 /**
11021095 * Start Classification, classifies the initial dataset, to show what would be within the final result set
11031096 */
11041097 public void exploration ( final Context ctx ) {
1105- ExploreData exploreData = ctx .bodyAsClass ( ExploreData .class );
1098+ /* ExploreData exploreData = ctx.bodyAsClass( ExploreData.class );
11061099
11071100 String[] dataType = new String[exploreData.header.length + 1];
11081101 for ( int i = 0; i < exploreData.header.length; i++ ) {
@@ -1113,7 +1106,7 @@ public void exploration( final Context ctx ) {
11131106 ExploreManager e = ExploreManager.getInstance();
11141107 Explore explore = e.exploreData( exploreData.id, exploreData.classified, dataType );
11151108
1116- ctx .json ( new ExploreResult ( exploreData .header , explore .getDataAfterClassification (), explore .getId (), explore .getBuildGraph () ) );
1109+ ctx.json( new ExploreResult( exploreData.header, explore.getDataAfterClassification(), explore.getId(), explore.getBuildGraph() ) );*/
11171110 }
11181111
11191112
0 commit comments