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 Details

    • ListColumnIncluderator

      public ListColumnIncluderator(List<String> columns)
  • Method Details

    • getColumns

      public Set<String> getColumns()
    • include

      public boolean include(String columnName)
      Specified by:
      include in interface ColumnIncluderator
    • getCacheKey

      public byte[] getCacheKey()
      Description copied from interface: Cacheable
      Get a byte array used as a cache key.
      Specified by:
      getCacheKey in interface Cacheable
      Returns:
      bytes to be used as cache key - or null if this object should not be cached.