mirror of https://github.com/apache/druid.git
Merge pull request #272 from daggerrz/feature/raw-row-data
Use druid-api 0.1.2-SNAPSHOT which provides Row.getRaw()
This commit is contained in:
commit
bf3acbf28c
2
pom.xml
2
pom.xml
|
@ -60,7 +60,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.druid</groupId>
|
<groupId>io.druid</groupId>
|
||||||
<artifactId>druid-api</artifactId>
|
<artifactId>druid-api</artifactId>
|
||||||
<version>0.1.1</version>
|
<version>0.1.2-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- Compile Scope -->
|
<!-- Compile Scope -->
|
||||||
|
|
|
@ -133,6 +133,11 @@ public class SpatialDimensionRowFormatter
|
||||||
return (retVal == null) ? row.getDimension(dimension) : retVal;
|
return (retVal == null) ? row.getDimension(dimension) : retVal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Object getRaw(String dimension) {
|
||||||
|
return row.getRaw(dimension);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public float getFloatMetric(String metric)
|
public float getFloatMetric(String metric)
|
||||||
{
|
{
|
||||||
|
|
|
@ -209,6 +209,12 @@ class WikipediaIrcDecoder implements IrcDecoder
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Object getRaw(String dimension) {
|
||||||
|
return dimensions.get(dimension);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public float getFloatMetric(String metric)
|
public float getFloatMetric(String metric)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue