code: public DataDistributionType getDataDistributionType(DataDistributionMode mode)
     {
        if (mode == DataDistributionMode.READABLE)
        {
           return readable;
        }
        else if (mode == DataDistributionMode.OPTIMIZED)
        {
           return optimized;
        }
        else if (mode == DataDistributionMode.NONE)
        {
           return none;
        }
        return null;
     }
docs: {@inheritDoc}