code: private CellProcessor[] getProcessors(){
          CellProcessor[] processors = new CellProcessor[]{
                  new NotNull(new ParseLong()),   //instrument_token
                  new NotNull(new ParseLong()),   //exchange_token
                  new NotNull(),                  //trading_symbol
                  new org.supercsv.cellprocessor.Optional(),                 //company name
                  new NotNull(new ParseDouble()), //last_price
                  new org.supercsv.cellprocessor.Optional(new ParseDate("yyyy-MM-dd")),                 //expiry
                  new org.supercsv.cellprocessor.Optional(),                 //strike
                  new NotNull(new ParseDouble()), //tick_size
                  new NotNull(new ParseInt()),    //lot_size
                  new NotNull(),                  //instrument_type
                  new NotNull(),                  //segment
                  new NotNull()                   //exchange
          };
          return processors;
      }
docs: This method returns array of cellprocessor for parsing csv.
  @return CellProcessor[] array