All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.locationtech.geowave.service.AnalyticService Maven / Gradle / Ivy

There is a newer version: 2.0.1
Show newest version
/**
 * Copyright (c) 2013-2019 Contributors to the Eclipse Foundation
 *
 * 

See the NOTICE file distributed with this work for additional information regarding copyright * ownership. All rights reserved. This program and the accompanying materials are made available * under the terms of the Apache License, Version 2.0 which accompanies this distribution and is * available at http://www.apache.org/licenses/LICENSE-2.0.txt */ package org.locationtech.geowave.service; import javax.ws.rs.Consumes; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.QueryParam; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; @Produces(MediaType.APPLICATION_JSON) @Path("/v0/analytic") public interface AnalyticService { @POST @Produces(MediaType.APPLICATION_JSON) @Consumes(MediaType.MULTIPART_FORM_DATA) @Path("/dbscan") public Response dbScan( @QueryParam("storeName") String storeName, @QueryParam("mapReduceHdfsBaseDir") String mapReduceHdfsBaseDir, @QueryParam("extractMaxInputSplit") String extractMaxInputSplit, @QueryParam("extractMinInputSplit") String extractMinInputSplit, @QueryParam("adapterIds") String adapterIds, // Array of strings @QueryParam("clusteringMaxIterations") String clusteringMaxIterations, @QueryParam("clusteringMinimumSize") String clusteringMinimumSize, @QueryParam("partitionMaxDistance") String partitionMaxDistance, @QueryParam("mapReduceConfigFile") String mapReduceConfigFile, @QueryParam("mapReduceHdfsHostPort") String mapReduceHdfsHostPort, @QueryParam("mapReduceJobtrackerHostPort") String mapReduceJobtrackerHostPort, @QueryParam("mapReduceYarnResourceManager") String mapReduceYarnResourceManager, @QueryParam("commonDistanceFunctionClass") String commonDistanceFunctionClass, @QueryParam("extractQuery") String extractQuery, @QueryParam("outputOutputFormat") String outputOutputFormat, @QueryParam("inputFormatClass") String inputFormatClass, @QueryParam("inputHdfsPath") String inputHdfsPath, @QueryParam("outputReducerCount") String outputReducerCount, @QueryParam("authorizations") String authorizations, // Array of // strings @QueryParam("indexId") String indexId, @QueryParam("outputHdfsOutputPath") String outputHdfsOutputPath, @QueryParam("partitioningDistanceThresholds") String partitioningDistanceThresholds, @QueryParam("partitioningGeometricDistanceUnit") String partitioningGeometricDistanceUnit, @QueryParam("globalBatchId") String globalBatchId, @QueryParam("hullDataTypeId") String hullDataTypeId, @QueryParam("hullProjectionClass") String hullProjectionClass, @QueryParam("outputDataNamespaceUri") String outputDataNamespaceUri, @QueryParam("outputDataTypeId") String outputDataTypeId, @QueryParam("outputIndexId") String outputIndexId, @QueryParam("partitionMaxMemberSelection") String partitionMaxMemberSelection, @QueryParam("partitionPartitionerClass") String partitionPartitionerClass, @QueryParam("partitionPartitionDecreaseRate") String partitionPartitionDecreaseRate, @QueryParam("partitionPartitionPrecision") String partitionPartitionPrecision, @QueryParam("partitionSecondaryPartitionerClass") String partitionSecondaryPartitionerClass); @POST @Produces(MediaType.APPLICATION_JSON) @Consumes(MediaType.MULTIPART_FORM_DATA) @Path("/kde") public Response kde( @QueryParam("inputStoreName") String inputStoreName, @QueryParam("outputStoreName") String outputStoreName, @QueryParam("featuretype") String featuretype, @QueryParam("minLevel") Integer minLevel, @QueryParam("maxLevel") Integer maxLevel, @QueryParam("coverageName") String coverageName, @QueryParam("jobTrackerOrResourceManHostPort") String jobTrackerOrResourceManHostPort, @QueryParam("indexId") String indexId, @QueryParam("minSplits") Integer minSplits, @QueryParam("maxSplits") Integer maxSplits, @QueryParam("hdfsHostPort") String hdfsHostPort, @QueryParam("tileSize") Integer tileSize, @QueryParam("cqlFilter") String cqlFilter); @POST @Produces(MediaType.APPLICATION_JSON) @Consumes(MediaType.MULTIPART_FORM_DATA) @Path("/kmeansspark") public Response kmeansSpark( @QueryParam("inputStoreName") String inputStoreName, @QueryParam("outputStoreName") String outputStoreName, @QueryParam("appName") String appName, @QueryParam("host") String host, @QueryParam("master") String master, @QueryParam("numClusters") Integer numClusters, @QueryParam("numIterations") Integer numIterations, @QueryParam("epsilon") String epsilon, @QueryParam("useTime") Boolean useTime, @QueryParam("generateHulls") Boolean generateHulls, @QueryParam("computeHullData") Boolean computeHullData, @QueryParam("cqlFilter") String cqlFilter, @QueryParam("adapterId") String adapterId, @QueryParam("minSplits") Integer minSplits, @QueryParam("maxSplits") Integer maxSplits, @QueryParam("centroidTypeName") String centroidTypeName, @QueryParam("hullTypeName") String hullTypeName); @POST @Produces(MediaType.APPLICATION_JSON) @Consumes(MediaType.MULTIPART_FORM_DATA) @Path("/nn") public Response nearestNeighbor( @QueryParam("storeName") String storeName, @QueryParam("mapReduceHdfsBaseDir") String mapReduceHdfsBaseDir, @QueryParam("extractMaxInputSplit") String extractMaxInputSplit, @QueryParam("extractMinInputSplit") String extractMinInputSplit, @QueryParam("adapterIds") String adapterIds, // Array of strings @QueryParam("outputHdfsOutputPath") String outputHdfsOutputPath, @QueryParam("partitionMaxDistance") String partitionMaxDistance, @QueryParam("mapReduceConfigFile") String mapReduceConfigFile, @QueryParam("mapReduceHdfsHostPort") String mapReduceHdfsHostPort, @QueryParam("mapReduceJobtrackerHostPort") String mapReduceJobtrackerHostPort, @QueryParam("mapReduceYarnResourceManager") String mapReduceYarnResourceManager, @QueryParam("commonDistanceFunctionClass") String commonDistanceFunctionClass, @QueryParam("extractQuery") String extractQuery, @QueryParam("outputOutputFormat") String outputOutputFormat, @QueryParam("inputFormatClass") String inputFormatClass, @QueryParam("inputHdfsPath") String inputHdfsPath, @QueryParam("outputReducerCount") String outputReducerCount, @QueryParam("authorizations") String authorizations, // Array of // strings @QueryParam("indexId") String indexId, @QueryParam("partitionMaxMemberSelection") String partitionMaxMemberSelection, @QueryParam("partitionPartitionerClass") String partitionPartitionerClass, @QueryParam("partitionPartitionPrecision") String partitionPartitionPrecision, @QueryParam("partitioningDistanceThresholds") String partitioningDistanceThresholds, @QueryParam("partitioningGeometricDistanceUnit") String partitioningGeometricDistanceUnit, @QueryParam("partitionSecondaryPartitionerClass") String partitionSecondaryPartitionerClass); @POST @Produces(MediaType.APPLICATION_JSON) @Consumes(MediaType.MULTIPART_FORM_DATA) @Path("/sql") public Response sql( @QueryParam("parameters") String parameters, // Array of strings @QueryParam("csvOutputFile") String csvOutputFile, @QueryParam("outputStoreName") String outputStoreName, @QueryParam("outputTypeName") String outputTypeName, @QueryParam("showResults") Integer showResults); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy