Package io.prestosql.spi.predicate
Class AllOrNoneValueSet
- java.lang.Object
-
- io.prestosql.spi.predicate.AllOrNoneValueSet
-
-
Constructor Summary
Constructors Constructor Description AllOrNoneValueSet(Type type, boolean all)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueSet
complement()
boolean
containsValue(Object value)
boolean
equals(Object obj)
AllOrNone
getAllOrNone()
List<Object>
getDiscreteSet()
Object
getSingleValue()
Type
getType()
ValuesProcessor
getValuesProcessor()
int
hashCode()
ValueSet
intersect(ValueSet other)
boolean
isAll()
boolean
isDiscreteSet()
boolean
isNone()
boolean
isSingleValue()
String
toString()
String
toString(ConnectorSession session)
ValueSet
union(ValueSet other)
-
-
-
Constructor Detail
-
AllOrNoneValueSet
public AllOrNoneValueSet(Type type, boolean all)
-
-
Method Detail
-
isSingleValue
public boolean isSingleValue()
- Specified by:
isSingleValue
in interfaceValueSet
-
getSingleValue
public Object getSingleValue()
- Specified by:
getSingleValue
in interfaceValueSet
-
isDiscreteSet
public boolean isDiscreteSet()
- Specified by:
isDiscreteSet
in interfaceValueSet
-
getDiscreteSet
public List<Object> getDiscreteSet()
- Specified by:
getDiscreteSet
in interfaceValueSet
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue
in interfaceValueSet
-
getAllOrNone
public AllOrNone getAllOrNone()
-
getValuesProcessor
public ValuesProcessor getValuesProcessor()
- Specified by:
getValuesProcessor
in interfaceValueSet
-
complement
public ValueSet complement()
- Specified by:
complement
in interfaceValueSet
-
toString
public String toString()
-
toString
public String toString(ConnectorSession session)
-
-