package tech.easyflow.datacenter.connector.impl;

import org.springframework.stereotype.Component;
import tech.easyflow.datacenter.connector.support.AbstractInternalTableConnector;
import tech.easyflow.datacenter.meta.enums.DatacenterCapability;
import tech.easyflow.datacenter.meta.enums.DatacenterSourceType;

import java.util.EnumSet;

@Component
public class ExcelConnector extends AbstractInternalTableConnector {
    public ExcelConnector() {
        super(DatacenterSourceType.EXCEL, EnumSet.of(
                DatacenterCapability.TEST_CONNECTION,
                DatacenterCapability.BROWSE_METADATA,
                DatacenterCapability.READ_QUERY,
                DatacenterCapability.WRITE_MUTATION,
                DatacenterCapability.MATERIALIZE,
                DatacenterCapability.EXPORT
        ));
    }
}
