public abstract class SparkTransformServer extends Object implements DataVecTransformService
Modifier and Type | Field and Description |
---|---|
protected static String |
contentType |
protected String |
jsonPath |
protected static org.nd4j.shade.jackson.databind.ObjectMapper |
objectMapper |
protected int |
port |
protected play.server.Server |
server |
SEQUENCE_OR_NOT_HEADER
Constructor and Description |
---|
SparkTransformServer() |
Modifier and Type | Method and Description |
---|---|
protected String |
getJsonText(play.mvc.Http.Request request) |
protected boolean |
isSequence(play.mvc.Http.Request request) |
abstract void |
runMain(String[] args) |
void |
stop()
Stop the server
|
abstract Base64NDArrayBody |
transformSequenceArrayIncremental(BatchCSVRecord singleCsvRecord) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCSVTransformProcess, getImageTransformProcess, setCSVTransformProcess, setImageTransformProcess, transform, transform, transformArray, transformArray, transformArrayIncremental, transformIncremental, transformIncrementalArray, transformSequence, transformSequenceArray, transformSequenceIncremental
protected String jsonPath
protected int port
protected play.server.Server server
protected static org.nd4j.shade.jackson.databind.ObjectMapper objectMapper
protected static String contentType
public void stop()
protected boolean isSequence(play.mvc.Http.Request request)
protected String getJsonText(play.mvc.Http.Request request)
public abstract Base64NDArrayBody transformSequenceArrayIncremental(BatchCSVRecord singleCsvRecord)
transformSequenceArrayIncremental
in interface DataVecTransformService
Copyright © 2020. All rights reserved.