@InterfaceStability.Stable public class LatestFilesReadCommittedScope implements ReadCommittedScope {
@InterfaceStability.Stable public class TableStatusReadCommittedScope implements ReadCommittedScope {
@InterfaceStability.Stable public class MalformedCarbonCommandException extends Exception {
/** * ReadCommitted interface that defines a read scope. */ @InterfaceAudience.Internal @InterfaceStability.Stable public interface ReadCommittedScope extends Serializable { LoadMetadataDetails[] getSegmentList() throws IOException; /** * @param segment * @return map of Absolute path of index file as key and null as value -- without mergeIndex * map of AbsolutePath with fileName of MergeIndex parent file as key and mergeIndexFileName * as value -- with mergeIndex * @throws IOException */ Map<String, String> getCommittedIndexFile(Segment segment) throws IOException; SegmentRefreshInfo getCommittedSegmentRefreshInfo(Segment segment, UpdateVO updateVo) throws IOException; void takeCarbonIndexFileSnapShot() throws IOException; Configuration getConfiguration(); void setConfiguration(Configuration configuration); }
/** * This exception will be thrown when Datamap related SQL statement is invalid */ @InterfaceAudience.User @InterfaceStability.Stable public class MalformedDataMapCommandException extends MalformedCarbonCommandException { /** * default serial version ID. */ private static final long serialVersionUID = 1L; public MalformedDataMapCommandException(String msg) { super(msg); } public MalformedDataMapCommandException(String msg, Throwable e) { super(msg, e); } }
/** * This exception will be thrown if datamap is not found when executing datamap * related SQL statement */ @InterfaceAudience.User @InterfaceStability.Stable public class NoSuchDataMapException extends MalformedCarbonCommandException { /** * default serial version ID. */ private static final long serialVersionUID = 1L; public NoSuchDataMapException(String dataMapName, String tableName) { super("Datamap with name " + dataMapName + " does not exist under table " + tableName); } public NoSuchDataMapException(String dataMapName) { super("Datamap with name " + dataMapName + " does not exist"); } }
@InterfaceAudience.User @InterfaceStability.Stable public class NoSuchStreamException extends Exception { /** * default serial version ID. */ private static final long serialVersionUID = 133241232L; public NoSuchStreamException(String streamName) { super("stream '" + streamName + "' not found"); } }
@InterfaceAudience.Internal @InterfaceStability.Stable public abstract class AbstractNonDictionaryVectorFiller { protected int numberOfRows; public AbstractNonDictionaryVectorFiller(int numberOfRows) { this.numberOfRows = numberOfRows; } public abstract void fillVector(byte[] data, CarbonColumnVector vector); }
/** * This exception will be thrown when loading option is invalid for SQL * loading statement (LOAD DATA, INSERT INTO) */ @InterfaceAudience.User @InterfaceStability.Stable public class InvalidLoadOptionException extends MalformedCarbonCommandException { public InvalidLoadOptionException(String msg) { super(msg); } }