mirror of https://github.com/apache/druid.git
add to string to spatial wrapper
This commit is contained in:
parent
1b56fa5416
commit
2d0fae2fde
|
@ -30,6 +30,7 @@ import com.google.common.collect.Sets;
|
|||
import com.google.common.primitives.Floats;
|
||||
import com.metamx.common.ISE;
|
||||
import com.metamx.druid.input.InputRow;
|
||||
import org.joda.time.DateTime;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
import java.util.Arrays;
|
||||
|
@ -138,6 +139,15 @@ public class SpatialDimensionRowFormatter
|
|||
{
|
||||
return row.getFloatMetric(metric);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return "InputRow{" +
|
||||
"timestamp=" + row.getTimestampFromEpoch() +
|
||||
", dimensions=" + row.getDimensions() +
|
||||
'}';
|
||||
}
|
||||
};
|
||||
|
||||
if (!spatialPartialDimNames.isEmpty()) {
|
||||
|
|
Loading…
Reference in New Issue