ech.geowave.geowave-grpc-protobuf.1.0.0-RC1.source-code.GeoWaveAnalyticSpark.proto Maven / Gradle / Ivy
/**
* 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
*/
syntax = "proto3";
import "GeoWaveReturnTypesProtos.proto";
option java_multiple_files = true;
option java_package = "org.locationtech.geowave.service.grpc.protobuf";
option java_outer_classname = "AnalyticSparkServiceProtos";
service AnalyticSpark {
rpc KmeansSparkCommand(KmeansSparkCommandParametersProtos) returns (VoidResponseProtos) {}
rpc SpatialJoinCommand(SpatialJoinCommandParametersProtos) returns (VoidResponseProtos) {}
rpc KDESparkCommand(KDESparkCommandParametersProtos) returns (VoidResponseProtos) {}
rpc SparkSqlCommand(SparkSqlCommandParametersProtos) returns (VoidResponseProtos) {}
}
message KmeansSparkCommandParametersProtos {
repeated string parameters = 1;
string appName = 2;
string host = 3;
string master = 4;
int32 numClusters = 5;
int32 numIterations = 6;
double epsilon = 7;
bool useTime = 8;
bool generateHulls = 9;
bool computeHullData = 10;
string cqlFilter = 11;
string typeName = 12;
int32 minSplits = 13;
int32 maxSplits = 14;
string centroidTypeName = 15;
string hullTypeName = 16;
}
message SpatialJoinCommandParametersProtos {
repeated string parameters = 1;
string appName = 2;
string host = 3;
string master = 4;
int32 partCount = 5;
string leftAdapterTypeName = 6;
string outLeftAdapterTypeName = 7;
string rightAdapterTypeName = 8;
string outRightAdapterTypeName = 9;
string predicate = 10;
double radius = 11;
bool negativeTest = 12;
}
message KDESparkCommandParametersProtos {
repeated string parameters = 1;
string appName = 2;
int32 tileSize = 3;
string indexName = 4;
int32 minLevel = 5;
int32 maxLevel = 6;
string host = 7;
string master = 8;
string cqlFilter = 9;
string typeName = 10;
int32 minSplits = 11;
int32 maxSplits = 12;
string coverageName = 13;
string outputIndex = 14;
}
message SparkSqlCommandParametersProtos {
repeated string parameters = 1;
string appName = 2;
string host = 3;
string master = 4;
string csvOutputFile = 5;
string outputStoreName = 6;
string outputTypeName = 7;
int32 showResults = 8;
}