Ajantha Bhat created CARBONDATA-2961:
----------------------------------------

             Summary: Simplify SDK API interfaces
                 Key: CARBONDATA-2961
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-2961
             Project: CarbonData
          Issue Type: Improvement
            Reporter: Ajantha Bhat
            Assignee: Ajantha Bhat


Added:
public CarbonWriterBuilder withThreadSafe(short numOfThreads)
public CarbonWriterBuilder withHadoopConf(Configuration conf)

public CarbonWriterBuilder forCsvInput(Schema schema)
public CarbonWriterBuilder forAvroInput(org.apache.avro.Schema avroSchema)
public CarbonWriterBuilder forJsonInput(Schema carbonSchema)

public CarbonWriter build() throws IOException, InvalidLoadOptionException



Removed:

public CarbonWriterBuilder isTransactionalTable(boolean isTransactionalTable)

setAccessKey
setAccessKey
setSecretKey
setSecretKey
setEndPoint
setEndPoint

public CarbonWriter buildWriterForCSVInput(Schema schema, Configuration 
configuration)
public CarbonWriter buildThreadSafeWriterForCSVInput(Schema schema, short 
numOfThreads,Configuration configuration) 
public CarbonWriter buildWriterForAvroInput(org.apache.avro.Schema 
avroSchema,Configuration configuration)
public CarbonWriter buildThreadSafeWriterForAvroInput(org.apache.avro.Schema 
avroSchema,short numOfThreads, Configuration configuration)
public JsonCarbonWriter buildWriterForJsonInput(Schema carbonSchema, 
Configuration configuration)
public JsonCarbonWriter buildThreadSafeWriterForJsonInput(Schema carbonSchema, 
short numOfThreads,Configuration configuration)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to