public class MatchGraphResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.matchGraph(MatchGraphRequest)
.Constructor and Description |
---|
MatchGraphResponse()
Constructs a MatchGraphResponse object with default parameters.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Object |
get(int index)
This method supports the Avro framework and is not intended to be called
directly by the user.
|
static org.apache.avro.Schema |
getClassSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
Map<String,String> |
getInfo() |
float |
getMatchScore() |
boolean |
getResult() |
org.apache.avro.Schema |
getSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
int |
hashCode() |
void |
put(int index,
Object value)
This method supports the Avro framework and is not intended to be called
directly by the user.
|
MatchGraphResponse |
setInfo(Map<String,String> info) |
MatchGraphResponse |
setMatchScore(float matchScore) |
MatchGraphResponse |
setResult(boolean result) |
String |
toString() |
public MatchGraphResponse()
public static org.apache.avro.Schema getClassSchema()
public boolean getResult()
public MatchGraphResponse setResult(boolean result)
result
- Indicates a successful solution.this
to mimic the builder pattern.public float getMatchScore()
public MatchGraphResponse setMatchScore(float matchScore)
matchScore
- The mean square error calculation representing the
map matching score. Values closer to zero are better.this
to mimic the builder pattern.public MatchGraphResponse setInfo(Map<String,String> info)
info
- Additional information.this
to mimic the builder pattern.public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
public Object get(int index)
get
in interface org.apache.avro.generic.IndexedRecord
index
- the position of the field to getIndexOutOfBoundsException
public void put(int index, Object value)
put
in interface org.apache.avro.generic.IndexedRecord
index
- the position of the field to setvalue
- the value to setIndexOutOfBoundsException
Copyright © 2020. All rights reserved.