public class Projection extends Object
Constructor and Description |
---|
Projection(List<Field> fields)
Constructor that creates a Projection from the given fields.
|
Modifier and Type | Method and Description |
---|---|
com.yahoo.bullet.record.BulletRecord |
project(com.yahoo.bullet.record.BulletRecord record)
Projects onto a BulletRecord.
|
com.yahoo.bullet.record.BulletRecord |
project(com.yahoo.bullet.record.BulletRecord record,
com.yahoo.bullet.record.BulletRecordProvider provider)
Projects onto a new BulletRecord.
|
public com.yahoo.bullet.record.BulletRecord project(com.yahoo.bullet.record.BulletRecord record, com.yahoo.bullet.record.BulletRecordProvider provider)
record
- The record to compute new fields from.provider
- The provider to get the new BulletRecord.public com.yahoo.bullet.record.BulletRecord project(com.yahoo.bullet.record.BulletRecord record)
record
- The record to compute new fields from and to project onto.Copyright © 2021. All rights reserved.