Class ListColumnIncluderator
- java.lang.Object
-
- org.apache.druid.query.metadata.metadata.ListColumnIncluderator
-
- All Implemented Interfaces:
Cacheable
,ColumnIncluderator
public class ListColumnIncluderator extends Object implements ColumnIncluderator
-
-
Constructor Summary
Constructors Constructor Description ListColumnIncluderator(List<String> columns)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getCacheKey()
Get a byte array used as a cache key.Set<String>
getColumns()
boolean
include(String columnName)
-
-
-
Method Detail
-
include
public boolean include(String columnName)
- Specified by:
include
in interfaceColumnIncluderator
-
getCacheKey
public byte[] getCacheKey()
Description copied from interface:Cacheable
Get a byte array used as a cache key.- Specified by:
getCacheKey
in interfaceCacheable
- Returns:
- a cache key
-
-