mirror of https://github.com/apache/druid.git
cleanup
This commit is contained in:
parent
0be1f81d7e
commit
7428da51de
|
@ -20,7 +20,6 @@
|
||||||
package org.apache.druid.java.util.common.granularity;
|
package org.apache.druid.java.util.common.granularity;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonCreator;
|
import com.fasterxml.jackson.annotation.JsonCreator;
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
||||||
import com.google.common.primitives.Longs;
|
import com.google.common.primitives.Longs;
|
||||||
import org.apache.druid.java.util.common.Cacheable;
|
import org.apache.druid.java.util.common.Cacheable;
|
||||||
import org.apache.druid.java.util.common.DateTimes;
|
import org.apache.druid.java.util.common.DateTimes;
|
||||||
|
@ -156,7 +155,6 @@ public abstract class Granularity implements Cacheable
|
||||||
*/
|
*/
|
||||||
public abstract boolean isAligned(Interval interval);
|
public abstract boolean isAligned(Interval interval);
|
||||||
|
|
||||||
@JsonIgnore
|
|
||||||
public DateTimeZone getTimeZone()
|
public DateTimeZone getTimeZone()
|
||||||
{
|
{
|
||||||
return DateTimeZone.UTC;
|
return DateTimeZone.UTC;
|
||||||
|
|
|
@ -25,6 +25,7 @@ import com.google.common.collect.RangeSet;
|
||||||
import org.apache.druid.common.config.NullHandling;
|
import org.apache.druid.common.config.NullHandling;
|
||||||
import org.apache.druid.java.util.common.Cacheable;
|
import org.apache.druid.java.util.common.Cacheable;
|
||||||
import org.apache.druid.query.extraction.ExtractionFn;
|
import org.apache.druid.query.extraction.ExtractionFn;
|
||||||
|
|
||||||
import javax.annotation.Nullable;
|
import javax.annotation.Nullable;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
|
|
@ -188,7 +188,7 @@ public class RowSignature implements ColumnInspector
|
||||||
}
|
}
|
||||||
|
|
||||||
@JsonValue
|
@JsonValue
|
||||||
public List<ColumnSignature> asColumnSignatures()
|
private List<ColumnSignature> asColumnSignatures()
|
||||||
{
|
{
|
||||||
final List<ColumnSignature> retVal = new ArrayList<>();
|
final List<ColumnSignature> retVal = new ArrayList<>();
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
import com.google.common.base.Preconditions;
|
import com.google.common.base.Preconditions;
|
||||||
import org.joda.time.Period;
|
import org.joda.time.Period;
|
||||||
|
|
||||||
public /*FIXME*/ class AvaticaServerConfig
|
class AvaticaServerConfig
|
||||||
{
|
{
|
||||||
public static int DEFAULT_MAX_CONNECTIONS = 25;
|
public static int DEFAULT_MAX_CONNECTIONS = 25;
|
||||||
public static int DEFAULT_MAX_STATEMENTS_PER_CONNECTION = 4;
|
public static int DEFAULT_MAX_STATEMENTS_PER_CONNECTION = 4;
|
||||||
|
|
|
@ -34,7 +34,7 @@ import org.apache.druid.server.security.ForbiddenException;
|
||||||
/**
|
/**
|
||||||
* ErrorHandler is a utility class that is used to sanitize exceptions.
|
* ErrorHandler is a utility class that is used to sanitize exceptions.
|
||||||
*/
|
*/
|
||||||
public /*FIXME*/ class ErrorHandler
|
class ErrorHandler
|
||||||
{
|
{
|
||||||
private final ErrorResponseTransformStrategy errorResponseTransformStrategy;
|
private final ErrorResponseTransformStrategy errorResponseTransformStrategy;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue