public class EclRecordReader extends EclRecordBaseListener
| Constructor and Description |
|---|
EclRecordReader() |
enterAnnotation_arguments, enterAnnotation_name, enterAnnotation_param, enterAssign_list, enterAssign, enterEclfield_name, enterEclfield_recref, enterEclfield_type, enterEveryRule, enterOpt, enterOpts, enterPayload_sep, enterProgram, enterRecord_defs, enterToken_list, enterValue_list, enterValue, exitAnnotation_arguments, exitAssign_list, exitAssign, exitBlob, exitDefaultval, exitDefined_record_def, exitEclfield_name, exitEclfield_recref, exitEclfield_type, exitEveryRule, exitMaxcount, exitMaxlength, exitNested_dataset_decl, exitNested_inline_dataset_decl, exitOpt, exitOpts, exitPayload_sep, exitProgram, exitRecord_defs, exitToken_list, exitValue_list, exitValue, exitXmldefaultval, exitXpath, visitErrorNode, visitTerminalpublic void enterRecord_def_inline(EclRecordParser.Record_def_inlineContext ctx)
EclRecordBaseListenerEclRecordParser.record_def_inline().
The default implementation does nothing.
enterRecord_def_inline in interface EclRecordListenerenterRecord_def_inline in class EclRecordBaseListenerctx - the parse treepublic void exitRecord_def_inline(EclRecordParser.Record_def_inlineContext ctx)
EclRecordParser.record_def_inline().
The default implementation does nothing.
When exiting a defined recordset (l_layout:=RECORD...), add the generated object to the EclInfo's recordset collection.
exitRecord_def_inline in interface EclRecordListenerexitRecord_def_inline in class EclRecordBaseListenerctx - the parse treepublic void enterRecord_def(EclRecordParser.Record_defContext ctx)
EclRecordParser.record_def().
The default implementation does nothing.
When entering a RECORD ecl definition, create a RecordDef object and add it to the EclInfo container.
enterRecord_def in interface EclRecordListenerenterRecord_def in class EclRecordBaseListenerctx - the parse treepublic void exitRecord_def(EclRecordParser.Record_defContext ctx)
EclRecordParser.record_def().
The default implementation does nothing.
When exiting a RECORD definition, Set the current record object to null
exitRecord_def in interface EclRecordListenerexitRecord_def in class EclRecordBaseListenerctx - the parse treepublic void enterDefined_record_def(EclRecordParser.Defined_record_defContext ctx)
EclRecordParser.defined_record_def().
The default implementation does nothing.
when entering a defined record def (l_rec:=RECORD...), set the currentrec to a new DFURecordDefInfo object and set the record name to l_rec, etc.
enterDefined_record_def in interface EclRecordListenerenterDefined_record_def in class EclRecordBaseListenerctx - the parse treepublic void enterEclfield_decl(EclRecordParser.Eclfield_declContext ctx)
EclRecordParser.eclfield_decl().
The default implementation does nothing.
when entering a field in a RECORD layout definition, set the currentfield object to a new DFUDataColumnInfo object
enterEclfield_decl in interface EclRecordListenerenterEclfield_decl in class EclRecordBaseListenerctx - the parse treepublic void exitEclfield_decl(EclRecordParser.Eclfield_declContext ctx)
EclRecordParser.eclfield_decl().
The default implementation does nothing.
When exiting a field definition in a RECORD descriptor, set the field type and name and add the field to the current record's collection of child DFUDataColumnInfo objects. Also handle child datasets, both with inline dataset references ( field1:=DATASET({STRING field2,STRING field3}) and references to external datasets ( field1:=DATASET(l_kidrec);
exitEclfield_decl in interface EclRecordListenerexitEclfield_decl in class EclRecordBaseListenerctx - the parse treepublic void enterMaxcount(EclRecordParser.MaxcountContext ctx)
EclRecordParser.maxcount().
The default implementation does nothing.
if a MAXCOUNT option is encountered, add it to the current field/record being processed
enterMaxcount in interface EclRecordListenerenterMaxcount in class EclRecordBaseListenerctx - the parse treepublic void enterBlob(EclRecordParser.BlobContext ctx)
EclRecordParser.blob().
The default implementation does nothing.
if a MAXCOUNT option is encountered, add it to the current field/record being processed
enterBlob in interface EclRecordListenerenterBlob in class EclRecordBaseListenerctx - the parse treepublic void enterNested_dataset_decl(EclRecordParser.Nested_dataset_declContext ctx)
EclRecordParser.nested_dataset_decl().
The default implementation does nothing.
When entering a child dataset definition in a RECORD layout, (field1:=DATASET(l_rec);) look for an exiting record layout matching the dataset type of the child dataset and add its fields as child fields of the current dataset field.
enterNested_dataset_decl in interface EclRecordListenerenterNested_dataset_decl in class EclRecordBaseListenerctx - the parse treepublic void enterNested_inline_dataset_decl(EclRecordParser.Nested_inline_dataset_declContext ctx)
EclRecordParser.nested_inline_dataset_decl().
The default implementation does nothing.
When entering a child dataset definition in a RECORD layout with an inline record def, set the current child dataset record's inline property to true
enterNested_inline_dataset_decl in interface EclRecordListenerenterNested_inline_dataset_decl in class EclRecordBaseListenerctx - the parse treepublic void enterInline_dataset_record_def(EclRecordParser.Inline_dataset_record_defContext ctx)
EclRecordParser.inline_dataset_record_def().
The default implementation does nothing.
When entering a child dataset's inline record def ( {string val, string val2} in a field defined like field1:=DATASET({string val,string val2}), set the current record to the parent record and initialize a new record to hold the child record values
enterInline_dataset_record_def in interface EclRecordListenerenterInline_dataset_record_def in class EclRecordBaseListenerctx - the parse treepublic void enterExploded_dataset_record_def(EclRecordParser.Exploded_dataset_record_defContext ctx)
EclRecordParser.exploded_dataset_record_def().
The default implementation does nothing.
When entering a child dataset's inline record def ( {string val, string val2} in a field defined like field1:=DATASET({string val,string val2}), set the current record to the parent record and initialize a new record to hold the child record values
enterExploded_dataset_record_def in interface EclRecordListenerenterExploded_dataset_record_def in class EclRecordBaseListenerctx - the parse treepublic void exitInline_dataset_record_def(EclRecordParser.Inline_dataset_record_defContext ctx)
EclRecordBaseListenerEclRecordParser.inline_dataset_record_def().
The default implementation does nothing.
exitInline_dataset_record_def in interface EclRecordListenerexitInline_dataset_record_def in class EclRecordBaseListenerctx - the parse treepublic void exitExploded_dataset_record_def(EclRecordParser.Exploded_dataset_record_defContext ctx)
EclRecordBaseListenerEclRecordParser.exploded_dataset_record_def().
The default implementation does nothing.
exitExploded_dataset_record_def in interface EclRecordListenerexitExploded_dataset_record_def in class EclRecordBaseListenerctx - the parse treepublic void enterMaxlength(EclRecordParser.MaxlengthContext ctx)
EclRecordParser.maxlength().
The default implementation does nothing.
When entering a MAXLENGTH option, add its value to the current field or rec
enterMaxlength in interface EclRecordListenerenterMaxlength in class EclRecordBaseListenerctx - the parse treepublic ErrorListener getErrorHandler()
public EclRecordWrapper getEclRecordWrapper()
public EclRecordParser getParser()
public void setParser(EclRecordParser parser)
public void enterDefaultval(EclRecordParser.DefaultvalContext ctx)
EclRecordParser.defaultval().
The default implementation does nothing.
When entering a DEFAULT option, set the columnvalue of the current field/rec to its value
enterDefaultval in interface EclRecordListenerenterDefaultval in class EclRecordBaseListenerctx - the parse treepublic void enterXpath(EclRecordParser.XpathContext ctx)
EclRecordParser.xpath().
The default implementation does nothing.
When entering an xpath option, add it to the current field or record
enterXpath in interface EclRecordListenerenterXpath in class EclRecordBaseListenerctx - the parse treepublic void enterXmldefaultval(EclRecordParser.XmldefaultvalContext ctx)
EclRecordParser.xmldefaultval().
The default implementation does nothing.
When entering an xmldefault option, add it to the current field or record
enterXmldefaultval in interface EclRecordListenerenterXmldefaultval in class EclRecordBaseListenerctx - the parse treepublic void enterComment(EclRecordParser.CommentContext ctx)
EclRecordBaseListenerEclRecordParser.comment().
The default implementation does nothing.
enterComment in interface EclRecordListenerenterComment in class EclRecordBaseListenerctx - the parse treepublic void exitAnnotation(EclRecordParser.AnnotationContext ctx)
EclRecordBaseListenerEclRecordParser.annotation().
The default implementation does nothing.
exitAnnotation in interface EclRecordListenerexitAnnotation in class EclRecordBaseListenerctx - the parse treepublic void exitAnnotation_name(EclRecordParser.Annotation_nameContext ctx)
EclRecordBaseListenerEclRecordParser.annotation_name().
The default implementation does nothing.
exitAnnotation_name in interface EclRecordListenerexitAnnotation_name in class EclRecordBaseListenerctx - the parse treepublic void exitAnnotation_param(EclRecordParser.Annotation_paramContext ctx)
EclRecordBaseListenerEclRecordParser.annotation_param().
The default implementation does nothing.
exitAnnotation_param in interface EclRecordListenerexitAnnotation_param in class EclRecordBaseListenerctx - the parse treepublic void exitComment(EclRecordParser.CommentContext ctx)
EclRecordBaseListenerEclRecordParser.comment().
The default implementation does nothing.
exitComment in interface EclRecordListenerexitComment in class EclRecordBaseListenerctx - the parse treepublic void enterAnnotation(EclRecordParser.AnnotationContext ctx)
EclRecordBaseListenerEclRecordParser.annotation().
The default implementation does nothing.
enterAnnotation in interface EclRecordListenerenterAnnotation in class EclRecordBaseListenerctx - the parse treeCopyright © 2021. All rights reserved.