//
//  SQLParser.h
//  EAMiPadDisConnected
//
//  Created by Satish Kumar Jakkula on 4/20/16.
//
//

#import <Foundation/Foundation.h>

typedef enum
{
    CommandTypeInsert,
    CommandTypeUpdate,
    CommandTypeDelete,
    CommandTypeSelect,
    CommandTypeUnknown
}CommandType;

@interface SQLParser : NSObject
{
    
}

@property (nonatomic        )   CommandType     command;
@property (nonatomic, strong)   NSString        *tableName;
@property (nonatomic, strong)   NSString        *whereClause;;
@property (nonatomic, strong)   NSString        *originalSQL;

- (id)initWithSQL:(NSString *)sql;

@end
