Ingest metadata query implementation

Ingest metadata query - 
expose maxIngestedEventTime
null check is already there inside the constructor of BaseQuery which enforce this.