public void FilterByTypes() { // this is fairly ugly. if types has values we add an extra property // RDF_TYPE to records during build, then filter out records of the // wrong types here. finally, we strip away the RDF_TYPE property here. if (_types.Count == 0) { return; } var recordKey = new List <string>(_records.Keys); foreach (var uri in recordKey) { RecordImpl r = _records[uri]; if (!FilterByType(r)) { _records.Remove(uri); } else { r.Remove(RDF_TYPE); } } }
//TODO: refactor this so that we share code with addStatement() public void Statement(string subject, string property, string obj, bool literal) { var record = (_records.ContainsKey(subject)) ? _records[subject] : null; if (record == null) { record = new RecordImpl(); _records.Add(subject, record); } //_columnarDataSource }
//TODO: refactor this so that we share code with addStatement() public void Statement(string subject, string property, string obj, bool literal) { var record = (_records.ContainsKey(subject)) ? _records[subject] : null; if (record == null) { record = new RecordImpl(); _records.Add(subject, record); } //_columnarDataSource }
public void AddStatement(RecordImpl record, string subject, string property, string obj) { //List<Column> cols = }
public void AddStatement(RecordImpl record, string subject, string property, string obj) { //List<Column> cols = }