2014-07-25 06:03:41 +00:00
|
|
|
package connector
|
|
|
|
|
|
2014-12-10 23:38:19 +00:00
|
|
|
// Filter is an interface used for determinint whether to buffer records.
|
|
|
|
|
// Returns false if you don't want to hold on to the record.
|
2014-07-25 06:03:41 +00:00
|
|
|
type Filter interface {
|
2014-11-16 01:00:37 +00:00
|
|
|
KeepRecord(r interface{}) bool
|
2014-07-25 06:03:41 +00:00
|
|
|
}
|