/** * Instantiates a new creates the. * * @param create the create */ public Create(Engine.Create create) { this.id = create.id(); this.type = create.type(); this.source = new BytesHolder(create.source(), create.sourceOffset(), create.sourceLength()); this.routing = create.routing(); this.parent = create.parent(); this.timestamp = create.timestamp(); this.ttl = create.ttl(); this.version = create.version(); }